Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndSig.u.1.|extIndSig.u.2.|extIndSig.u.3.|extIndSig.u.4.|extIndSig.index|extIndSig.y|extIndSig1.index|extIndSig1.y|extIndSig2.index|extIndSig2.y|extIndSig3.index|extIndSig3.y|extIndSig4.index|extIndSig4.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndSig.u.1.|extIndSig.u.2.|extIndSig.u.3.|extIndSig.u.4.|extIndSig.index|extIndSig.y|extIndSig1.index|extIndSig1.y|extIndSig2.index|extIndSig2.y|extIndSig3.index|extIndSig3.y|extIndSig4.index|extIndSig4.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00802/0.00802, allocations: 101.6 kB / 15.88 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001926/0.001926, allocations: 191.2 kB / 16.79 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 222.9 MB / 240.5 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.715/2.715, allocations: 461.8 MB / 0.7348 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 64.92 kB / 0.8991 GB, free: 37.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2976, allocations: 157.4 MB / 1.053 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002715/0.3003, allocations: 1.382 MB / 1.054 GB, free: 6.91 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002286/0.3026, allocations: 1.626 MB / 1.056 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001901/0.3028, allocations: 4 kB / 1.056 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001627/0.303, allocations: 19.73 kB / 1.056 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001882/0.3032, allocations: 51.62 kB / 1.056 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001124/0.3044, allocations: 461.4 kB / 1.056 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005916/0.305, allocations: 0.5701 MB / 1.057 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003169/0.3053, allocations: 165.1 kB / 1.057 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003271/0.3056, allocations: 211.4 kB / 1.057 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002561/0.3059, allocations: 203.1 kB / 1.057 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001158/0.306, allocations: 32 kB / 1.057 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001492/0.3062, allocations: 51.98 kB / 1.057 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.455e-05/0.3063, allocations: 71.7 kB / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002829/0.3065, allocations: 219 kB / 1.058 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004733/0.307, allocations: 0.5105 MB / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.307, allocations: 0 / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of FrontEnd: time 4.128e-06/0.307, allocations: 3.984 kB / 1.058 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.568e-05/0.3071, allocations: 0 / 1.058 GB, free: 2.738 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001561/0.3086, allocations: 0.9312 MB / 1.059 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.3087, allocations: 15.97 kB / 1.059 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001507/0.3088, allocations: 60.39 kB / 1.059 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001369/0.3102, allocations: 479.7 kB / 1.06 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.209e-05/0.3103, allocations: 28.92 kB / 1.06 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.947e-05/0.3104, allocations: 40.38 kB / 1.06 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000677/0.3111, allocations: 321.3 kB / 1.06 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.3111, allocations: 3.938 kB / 1.06 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.036e-05/0.3111, allocations: 12 kB / 1.06 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.3111, allocations: 8 kB / 1.06 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006252/0.3118, allocations: 254 kB / 1.06 GB, free: 468 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001664/0.3134, allocations: 0.9237 MB / 1.061 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006531/0.3141, allocations: 378.5 kB / 1.062 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004813/0.3146, allocations: 284.3 kB / 1.062 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.3146, allocations: 4 kB / 1.062 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005744/0.3152, allocations: 331 kB / 1.062 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=44): time 2.245e-06/0.3152, allocations: 0 / 1.062 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of matching and sorting (n=44): time 0.001558/0.3168, allocations: 0.8293 MB / 1.063 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.3169, allocations: 191.9 kB / 1.063 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002883/0.3172, allocations: 288.5 kB / 1.063 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.368e-05/0.3173, allocations: 45.7 kB / 1.063 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/0.3174, allocations: 168.8 kB / 1.064 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/0.3175, allocations: 130.2 kB / 1.064 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002338/0.3178, allocations: 134.1 kB / 1.064 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.3179, allocations: 346.8 kB / 1.064 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005883/0.3185, allocations: 272.8 kB / 1.064 GB, free: 12 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006201/0.3192, allocations: 365.8 kB / 1.065 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/0.3203, allocations: 0.909 MB / 1.066 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.3204, allocations: 3.938 kB / 1.066 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001645/0.322, allocations: 0.9976 MB / 1.067 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001517/0.3222, allocations: 255.3 kB / 1.067 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.3222, allocations: 3.984 kB / 1.067 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.3222, allocations: 4 kB / 1.067 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002798/0.3225, allocations: 67.84 kB / 1.067 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.3225, allocations: 7.984 kB / 1.067 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007063/0.3232, allocations: 143.7 kB / 1.067 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/0.3234, allocations: 67.92 kB / 1.067 GB, free: 8.93 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,conInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 9 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003097/0.3237, allocations: 322.1 kB / 1.067 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.744e-05/0.3238, allocations: 43.47 kB / 1.068 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.836e-05/0.3238, allocations: 39.48 kB / 1.068 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.3238, allocations: 4 kB / 1.068 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.3239, allocations: 0 / 1.068 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.3239, allocations: 3.984 kB / 1.068 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001719/0.3256, allocations: 1.199 MB / 1.069 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3256, allocations: 0 / 1.069 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002398/0.3259, allocations: 71.89 kB / 1.069 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.3259, allocations: 0 / 1.069 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.255e-05/0.3259, allocations: 16 kB / 1.069 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.3259, allocations: 3.938 kB / 1.069 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.3259, allocations: 3.938 kB / 1.069 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.327, allocations: 0.7648 MB / 1.07 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.941e-05/0.3271, allocations: 108.6 kB / 1.07 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.098e-05/0.3272, allocations: 15.98 kB / 1.07 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002202/0.3274, allocations: 27.97 kB / 1.07 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.993e-05/0.3275, allocations: 43.84 kB / 1.07 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.768e-05/0.3276, allocations: 55.92 kB / 1.07 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001857/0.3278, allocations: 195.1 kB / 1.07 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3278, allocations: 0 / 1.07 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004766/0.3283, allocations: 111.9 kB / 1.07 GB, free: 5.727 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002249/0.3285, allocations: 111.9 kB / 1.07 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001551/0.3301, allocations: 1.117 MB / 1.071 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3301, allocations: 0 / 1.071 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0006035/0.3307, allocations: 0.5208 MB / 1.072 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005279/0.3312, allocations: 86.36 kB / 1.072 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.3326, allocations: 0.9419 MB / 1.073 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.3329, allocations: 0.7966 MB / 1.074 GB, free: 1.918 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.874e-05/0.333, allocations: 31.44 kB / 1.074 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of SimCode: time 1.532e-06/0.333, allocations: 0 / 1.074 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of Templates: time 0.008276/0.3413, allocations: 5.584 MB / 1.079 GB, free: 12.34 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches