Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Templates.Plants.Controls.Utilities.Validation.CountTrue,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|couTru.y|couTruAllFal.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|couTru.y|couTruAllFal.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 110.7 kB / 16.41 MB, free: 6.496 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.0014/0.001401, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.573/2.573, allocations: 461.9 MB / 0.7354 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 71.88 kB / 1.055 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7684/0.7698, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.002127/0.772, allocations: 0.8596 MB / 1.209 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003331/0.7723, allocations: 95.64 kB / 1.209 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001307/0.7725, allocations: 4 kB / 1.209 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001448/0.7726, allocations: 19.8 kB / 1.209 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001571/0.7728, allocations: 19.86 kB / 1.209 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 9.528e-05/0.7729, allocations: 35.97 kB / 1.209 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002944/0.7732, allocations: 259.4 kB / 1.21 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003899/0.7736, allocations: 294.3 kB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001425/0.7738, allocations: 131.5 kB / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001502/0.7739, allocations: 147.3 kB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.563e-05/0.774, allocations: 32 kB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 3.842e-05/0.774, allocations: 32 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.975e-05/0.7741, allocations: 83.77 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001501/0.7743, allocations: 155.1 kB / 1.21 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004113/0.7747, allocations: 466.3 kB / 1.211 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.7747, allocations: 0 / 1.211 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.833e-06/0.7747, allocations: 0 / 1.211 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.618e-06/0.7747, allocations: 0 / 1.211 GB, free: 11.01 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.0006879/0.7754, allocations: 0.5942 MB / 1.212 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.7755, allocations: 8.031 kB / 1.212 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.65e-05/0.7755, allocations: 44.41 kB / 1.212 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003593/0.7759, allocations: 328.2 kB / 1.212 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.468e-05/0.776, allocations: 37.03 kB / 1.212 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.788e-05/0.776, allocations: 28.38 kB / 1.212 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005502/0.7766, allocations: 400.2 kB / 1.212 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.7766, allocations: 4.125 kB / 1.212 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.686e-05/0.7766, allocations: 19.94 kB / 1.212 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.7766, allocations: 8 kB / 1.212 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004282/0.7771, allocations: 307.6 kB / 1.213 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00127/0.7784, allocations: 1.053 MB / 1.214 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.7785, allocations: 89.16 kB / 1.214 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.998e-05/0.7786, allocations: 45.78 kB / 1.214 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.7786, allocations: 4 kB / 1.214 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.7786, allocations: 34.56 kB / 1.214 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=6): time 1.663e-06/0.7786, allocations: 0 / 1.214 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.0003105/0.7789, allocations: 173.5 kB / 1.214 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/0.779, allocations: 81.05 kB / 1.214 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005039/0.7795, allocations: 0.5052 MB / 1.215 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.7795, allocations: 25.7 kB / 1.215 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.7797, allocations: 203.5 kB / 1.215 GB, free: 6.824 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.462e-05/0.7797, allocations: 19.75 kB / 1.215 GB, free: 6.805 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.66e-05/0.7798, allocations: 61.62 kB / 1.215 GB, free: 6.738 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.7799, allocations: 342.8 kB / 1.215 GB, free: 6.395 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.78, allocations: 63.95 kB / 1.215 GB, free: 6.332 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.7801, allocations: 93.56 kB / 1.215 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.7803, allocations: 113.6 kB / 1.215 GB, free: 6.117 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.7803, allocations: 0 / 1.215 GB, free: 6.117 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002781/0.7806, allocations: 213.1 kB / 1.216 GB, free: 5.902 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.7806, allocations: 5.719 kB / 1.216 GB, free: 5.898 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.7806, allocations: 0 / 1.216 GB, free: 5.898 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.7806, allocations: 4 kB / 1.216 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.7808, allocations: 35.86 kB / 1.216 GB, free: 5.859 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.7808, allocations: 0 / 1.216 GB, free: 5.859 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.598e-05/0.7809, allocations: 31.59 kB / 1.216 GB, free: 5.828 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.725e-05/0.7809, allocations: 8 kB / 1.216 GB, free: 5.82 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 18 (couTru.booToInt[1].y,couTru.booToInt[2].y,couTru.booToInt[3].y,couTru.booToInt[4].y,couTru.booToInt[5].y,couTru.booToInt[6].y,couTru.intEqu.y,couTru.mulMin.y,couTru.y,couTruAllFal.booToInt[1].y,couTruAllFal.booToInt[2].y,couTruAllFal.booToInt[3].y,couTruAllFal.booToInt[4].y,couTruAllFal.booToInt[5].y,couTruAllFal.booToInt[6].y,couTruAllFal.intEqu.y,couTruAllFal.mulMin.y,couTruAllFal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * 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.0001845/0.7811, allocations: 203.5 kB / 1.216 GB, free: 5.609 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.243e-05/0.7812, allocations: 27.62 kB / 1.216 GB, free: 5.582 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002062/0.7814, allocations: 118 kB / 1.216 GB, free: 5.453 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.7814, allocations: 11.88 kB / 1.216 GB, free: 5.441 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.7814, allocations: 0 / 1.216 GB, free: 5.441 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.7814, allocations: 0 / 1.216 GB, free: 5.441 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004962/0.7819, allocations: 0.6603 MB / 1.217 GB, free: 4.711 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.7819, allocations: 4 kB / 1.217 GB, free: 4.707 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.303e-05/0.782, allocations: 8 kB / 1.217 GB, free: 4.699 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.782, allocations: 0 / 1.217 GB, free: 4.699 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.186e-06/0.782, allocations: 4 kB / 1.217 GB, free: 4.695 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.782, allocations: 4 kB / 1.217 GB, free: 4.691 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.782, allocations: 0 / 1.217 GB, free: 4.691 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/0.7821, allocations: 139.2 kB / 1.217 GB, free: 4.527 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.11e-05/0.7822, allocations: 112.7 kB / 1.217 GB, free: 4.398 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.26e-05/0.7823, allocations: 7.984 kB / 1.217 GB, free: 4.391 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.567e-05/0.7823, allocations: 4 kB / 1.217 GB, free: 4.387 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.089e-05/0.7823, allocations: 4 kB / 1.217 GB, free: 4.383 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.7824, allocations: 4 kB / 1.217 GB, free: 4.379 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004097/0.7828, allocations: 391 kB / 1.217 GB, free: 4 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7828, allocations: 0 / 1.217 GB, free: 4 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002383/0.783, allocations: 43.84 kB / 1.217 GB, free: 3.957 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (couTru.y,couTru.intEqu.y,couTruAllFal.y,couTruAllFal.intEqu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.000107/0.7831, allocations: 99.19 kB / 1.218 GB, free: 3.848 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002035/0.7833, allocations: 116 kB / 1.218 GB, free: 3.734 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.7834, allocations: 4 kB / 1.218 GB, free: 3.73 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.513e-05/0.7834, allocations: 15.94 kB / 1.218 GB, free: 3.715 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000252/0.7836, allocations: 33.48 kB / 1.218 GB, free: 3.684 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006885/0.7843, allocations: 0.5235 MB / 1.218 GB, free: 3.117 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.7847, allocations: 0.7911 MB / 1.219 GB, free: 2.301 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.306e-05/0.7848, allocations: 23.44 kB / 1.219 GB, free: 2.281 MB / 0.9356 GB Notification: Performance of SimCode: time 3.1e-07/0.7848, allocations: 0 / 1.219 GB, free: 2.281 MB / 0.9356 GB Notification: Performance of Templates: time 0.005497/0.7903, allocations: 3.816 MB / 1.223 GB, free: 14.46 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.makefile (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches