Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001909/0.001909, allocations: 78.64 kB / 19.76 MB, free: 1.875 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002453/0.002453, allocations: 164.6 kB / 23.01 MB, free: 4.598 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.467/1.467, allocations: 177.2 MB / 203.4 MB, free: 8.984 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.736/2.736, allocations: 359.1 MB / 0.6044 GB, free: 14.93 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|couTru.y|couTruAllFal.y",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|couTru.y|couTruAllFal.y",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002299/0.002299, allocations: 59.91 kB / 0.9515 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9585/0.9608, allocations: 169.9 MB / 1.117 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.002218/0.963, allocations: 0.8448 MB / 1.118 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003043/0.9633, allocations: 92.84 kB / 1.118 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.546e-05/0.9634, allocations: 7.469 kB / 1.118 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001424/0.9635, allocations: 18.45 kB / 1.118 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001359/0.9637, allocations: 21.34 kB / 1.118 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 8.706e-05/0.9638, allocations: 44.05 kB / 1.118 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000306/0.9641, allocations: 258 kB / 1.119 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003146/0.9644, allocations: 166.6 kB / 1.119 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001432/0.9645, allocations: 131.1 kB / 1.119 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001881/0.9647, allocations: 148.2 kB / 1.119 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.399e-05/0.9648, allocations: 32.5 kB / 1.119 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.302e-05/0.9648, allocations: 32.78 kB / 1.119 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.303e-05/0.9649, allocations: 92.09 kB / 1.119 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.9651, allocations: 114.6 kB / 1.119 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005269/0.9656, allocations: 466.7 kB / 1.12 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.9656, allocations: 1.156 kB / 1.12 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9656, allocations: 4 kB / 1.12 GB, free: 1.809 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.9656, allocations: 0 / 1.12 GB, free: 1.809 MB / 0.9981 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.0006267/0.9662, allocations: 0.5278 MB / 1.12 GB, free: 1.379 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.9663, allocations: 9 kB / 1.12 GB, free: 1.379 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.511e-05/0.9663, allocations: 46.78 kB / 1.12 GB, free: 1.352 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003904/0.9667, allocations: 274.9 kB / 1.121 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.85e-05/0.9668, allocations: 33.14 kB / 1.121 GB, free: 1.137 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.415e-05/0.9668, allocations: 33.34 kB / 1.121 GB, free: 1.125 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006168/0.9674, allocations: 399.5 kB / 1.121 GB, free: 0.9609 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.9675, allocations: 8.828 kB / 1.121 GB, free: 0.9531 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.651e-05/0.9675, allocations: 14.88 kB / 1.121 GB, free: 0.9414 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.9675, allocations: 11.94 kB / 1.121 GB, free: 0.9375 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004537/0.968, allocations: 302.4 kB / 1.121 GB, free: 0.8477 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/0.9691, allocations: 0.8295 MB / 1.122 GB, free: 332 kB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.9692, allocations: 95.06 kB / 1.122 GB, free: 256 kB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.862e-05/0.9693, allocations: 44.23 kB / 1.122 GB, free: 228 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.9693, allocations: 3.094 kB / 1.122 GB, free: 228 kB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/0.9693, allocations: 36.7 kB / 1.122 GB, free: 184 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.9693, allocations: 0 / 1.122 GB, free: 184 kB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.0003137/0.9696, allocations: 155.2 kB / 1.123 GB, free: 104 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/0.9697, allocations: 79.16 kB / 1.123 GB, free: 8 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004067/0.9701, allocations: 346.3 kB / 1.123 GB, free: 15.81 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.9701, allocations: 34.58 kB / 1.123 GB, free: 15.77 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/0.9703, allocations: 211 kB / 1.123 GB, free: 15.6 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.693e-05/0.9703, allocations: 12.58 kB / 1.123 GB, free: 15.59 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.9704, allocations: 78.33 kB / 1.123 GB, free: 15.55 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.9705, allocations: 335.9 kB / 1.124 GB, free: 15.23 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.9707, allocations: 65.59 kB / 1.124 GB, free: 15.21 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001533/0.9708, allocations: 91.53 kB / 1.124 GB, free: 15.16 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.971, allocations: 115.1 kB / 1.124 GB, free: 15.11 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.971, allocations: 0 / 1.124 GB, free: 15.11 MB / 1.014 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003145/0.9713, allocations: 192.1 kB / 1.124 GB, free: 15.02 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.9713, allocations: 6.094 kB / 1.124 GB, free: 15.02 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.9713, allocations: 1.109 kB / 1.124 GB, free: 15.02 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.9713, allocations: 12.95 kB / 1.124 GB, free: 15 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.9715, allocations: 31.17 kB / 1.124 GB, free: 15 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.9715, allocations: 5 kB / 1.124 GB, free: 15 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.067e-05/0.9716, allocations: 22.44 kB / 1.124 GB, free: 14.98 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.9716, allocations: 9.453 kB / 1.124 GB, free: 14.98 MB / 1.014 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.0002162/0.9718, allocations: 198.3 kB / 1.124 GB, free: 14.83 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.519e-05/0.9719, allocations: 16.8 kB / 1.124 GB, free: 14.82 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002162/0.9721, allocations: 109.2 kB / 1.124 GB, free: 14.74 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.9721, allocations: 1.656 kB / 1.124 GB, free: 14.74 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.9721, allocations: 5.312 kB / 1.124 GB, free: 14.74 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.9721, allocations: 0.9531 kB / 1.124 GB, free: 14.74 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005625/0.9727, allocations: 0.5588 MB / 1.125 GB, free: 14.26 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.9727, allocations: 1.156 kB / 1.125 GB, free: 14.26 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.12e-05/0.9727, allocations: 4.234 kB / 1.125 GB, free: 14.26 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.9727, allocations: 5 kB / 1.125 GB, free: 14.25 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.176e-06/0.9727, allocations: 1.891 kB / 1.125 GB, free: 14.25 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.9727, allocations: 1.312 kB / 1.125 GB, free: 14.25 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.9727, allocations: 1.5 kB / 1.125 GB, free: 14.25 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001432/0.9728, allocations: 118.6 kB / 1.125 GB, free: 14.14 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.028e-05/0.9729, allocations: 28.28 kB / 1.125 GB, free: 14.12 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.608e-05/0.9729, allocations: 10.16 kB / 1.125 GB, free: 14.11 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.12e-05/0.9729, allocations: 4.516 kB / 1.125 GB, free: 14.11 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.522e-05/0.973, allocations: 8.578 kB / 1.125 GB, free: 14.11 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.973, allocations: 1.406 kB / 1.125 GB, free: 14.11 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003042/0.9733, allocations: 235.9 kB / 1.125 GB, free: 13.98 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.9733, allocations: 0 / 1.125 GB, free: 13.98 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002852/0.9736, allocations: 58.23 kB / 1.125 GB, free: 13.96 MB / 1.014 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.0001504/0.9737, allocations: 100.4 kB / 1.126 GB, free: 13.87 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000259/0.974, allocations: 104.5 kB / 1.126 GB, free: 13.84 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.974, allocations: 0 / 1.126 GB, free: 13.84 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 4.211e-05/0.974, allocations: 17.42 kB / 1.126 GB, free: 13.83 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/0.9743, allocations: 23.42 kB / 1.126 GB, free: 13.82 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008151/0.9751, allocations: 485.1 kB / 1.126 GB, free: 13.51 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002313/0.9753, allocations: 188.4 kB / 1.126 GB, free: 13.41 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001005/0.9754, allocations: 43.25 kB / 1.126 GB, free: 13.41 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.69e-05/0.9755, allocations: 21.25 kB / 1.126 GB, free: 13.39 MB / 1.014 GB Notification: Performance of SimCode: time 3.3e-07/0.9755, allocations: 0 / 1.126 GB, free: 13.39 MB / 1.014 GB Notification: Performance of Templates: time 0.005308/0.9808, allocations: 1.187 MB / 1.128 GB, free: 13.21 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.sim & ./Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.771994881913997]