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.001345/0.001345, 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.001293/0.001293, allocations: 185.5 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.375/1.375, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.624/2.624, allocations: 461.9 MB / 0.7355 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 67.91 kB / 1.055 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7669/0.7683, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.00227/0.7706, allocations: 0.8599 MB / 1.209 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003534/0.771, allocations: 91.64 kB / 1.209 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.7712, allocations: 7.938 kB / 1.209 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001389/0.7713, allocations: 23.8 kB / 1.209 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001444/0.7715, allocations: 11.86 kB / 1.209 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 8.916e-05/0.7716, allocations: 39.97 kB / 1.209 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003106/0.7719, allocations: 255.4 kB / 1.21 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004288/0.7723, allocations: 302.3 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.7725, allocations: 123.5 kB / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001783/0.7727, allocations: 155.2 kB / 1.21 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.836e-05/0.7727, allocations: 32 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 4.632e-05/0.7728, allocations: 32 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.446e-05/0.7729, allocations: 87.72 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001426/0.773, allocations: 151.1 kB / 1.21 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004075/0.7735, allocations: 458.3 kB / 1.211 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.7735, allocations: 0 / 1.211 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7735, allocations: 0 / 1.211 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.492e-05/0.7735, allocations: 4 kB / 1.211 GB, free: 11.03 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.0007769/0.7743, allocations: 0.5981 MB / 1.212 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.7743, allocations: 12.03 kB / 1.212 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.688e-05/0.7744, allocations: 36.47 kB / 1.212 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003977/0.7748, allocations: 332.2 kB / 1.212 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.171e-05/0.7749, allocations: 33.03 kB / 1.212 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.153e-05/0.7749, allocations: 32.38 kB / 1.212 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006095/0.7755, allocations: 400.2 kB / 1.212 GB, free: 9.504 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.7756, allocations: 8.172 kB / 1.212 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.12e-05/0.7756, allocations: 11.94 kB / 1.212 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.7756, allocations: 15.94 kB / 1.212 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004599/0.7761, allocations: 299.6 kB / 1.213 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001362/0.7775, allocations: 1.049 MB / 1.214 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/0.7776, allocations: 93.16 kB / 1.214 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.703e-05/0.7777, allocations: 49.78 kB / 1.214 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/0.7777, allocations: 0 / 1.214 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.7778, allocations: 34.56 kB / 1.214 GB, free: 7.863 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.7778, allocations: 0 / 1.214 GB, free: 7.863 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.0003385/0.7781, allocations: 165.2 kB / 1.214 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.7782, allocations: 85.05 kB / 1.214 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005468/0.7787, allocations: 0.5052 MB / 1.215 GB, free: 7.082 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.7788, allocations: 29.7 kB / 1.215 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.7789, allocations: 203.5 kB / 1.215 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/0.7789, allocations: 19.75 kB / 1.215 GB, free: 6.824 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.812e-05/0.779, allocations: 53.69 kB / 1.215 GB, free: 6.766 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.7792, allocations: 338.8 kB / 1.215 GB, free: 6.426 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.7793, allocations: 75.88 kB / 1.215 GB, free: 6.352 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.7794, allocations: 95.61 kB / 1.215 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001615/0.7796, allocations: 113.6 kB / 1.215 GB, free: 6.137 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.7796, allocations: 0 / 1.215 GB, free: 6.137 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003104/0.7799, allocations: 209.1 kB / 1.216 GB, free: 5.926 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.7799, allocations: 8 kB / 1.216 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.7799, allocations: 3.938 kB / 1.216 GB, free: 5.914 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.78, allocations: 3.984 kB / 1.216 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/0.7801, allocations: 31.88 kB / 1.216 GB, free: 5.879 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.7801, allocations: 4 kB / 1.216 GB, free: 5.875 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.637e-05/0.7802, allocations: 31.59 kB / 1.216 GB, free: 5.844 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.937e-05/0.7803, allocations: 11.98 kB / 1.216 GB, free: 5.832 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.0001962/0.7805, allocations: 195.5 kB / 1.216 GB, free: 5.633 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.714e-05/0.7805, allocations: 28 kB / 1.216 GB, free: 5.605 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002225/0.7808, allocations: 122 kB / 1.216 GB, free: 5.473 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.7808, allocations: 3.938 kB / 1.216 GB, free: 5.469 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.83e-06/0.7808, allocations: 4.172 kB / 1.216 GB, free: 5.465 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.7808, allocations: 3.984 kB / 1.216 GB, free: 5.461 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005258/0.7813, allocations: 0.6641 MB / 1.217 GB, free: 4.727 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.7813, allocations: 192 / 1.217 GB, free: 4.727 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.578e-05/0.7814, allocations: 12 kB / 1.217 GB, free: 4.715 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.7814, allocations: 0 / 1.217 GB, free: 4.715 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.7814, allocations: 4 kB / 1.217 GB, free: 4.711 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.7814, allocations: 3.984 kB / 1.217 GB, free: 4.707 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.7814, allocations: 0 / 1.217 GB, free: 4.707 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001559/0.7816, allocations: 139.1 kB / 1.217 GB, free: 4.543 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.01e-05/0.7817, allocations: 116.7 kB / 1.217 GB, free: 4.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.01e-05/0.7817, allocations: 0 / 1.217 GB, free: 4.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.539e-05/0.7818, allocations: 4 kB / 1.217 GB, free: 4.406 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.571e-05/0.7818, allocations: 8 kB / 1.217 GB, free: 4.398 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.7818, allocations: 0 / 1.217 GB, free: 4.398 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004029/0.7822, allocations: 391 kB / 1.217 GB, free: 4.02 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7822, allocations: 0 / 1.217 GB, free: 4.02 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000251/0.7825, allocations: 43.84 kB / 1.217 GB, free: 3.977 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.0001249/0.7826, allocations: 111.2 kB / 1.218 GB, free: 3.855 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002244/0.7828, allocations: 99.89 kB / 1.218 GB, free: 3.758 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.7828, allocations: 0 / 1.218 GB, free: 3.758 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.79e-05/0.7829, allocations: 15.94 kB / 1.218 GB, free: 3.742 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.7831, allocations: 37.48 kB / 1.218 GB, free: 3.707 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007466/0.7839, allocations: 0.5277 MB / 1.218 GB, free: 3.137 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.7842, allocations: 0.787 MB / 1.219 GB, free: 2.324 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.581e-05/0.7843, allocations: 23.38 kB / 1.219 GB, free: 2.305 MB / 0.9356 GB Notification: Performance of SimCode: time 2.5e-07/0.7843, allocations: 4 kB / 1.219 GB, free: 2.301 MB / 0.9356 GB Notification: Performance of Templates: time 0.007864/0.7922, allocations: 3.808 MB / 1.223 GB, free: 14.49 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