Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009625/0.0009625, allocations: 82.64 kB / 20.68 MB, free: 3.82 MB / 18.57 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.001601/0.001601, allocations: 185 kB / 24.09 MB, free: 420 kB / 18.57 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.015/1.015, allocations: 177.1 MB / 204.5 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.87/1.87, allocations: 377.9 MB / 0.624 GB, free: 8.391 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 0.812 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.981e-05/2.169e-05, allocations: 3.312 kB / 0.812 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.001495/0.001516, allocations: 0.867 MB / 0.8128 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0002337/0.00175, allocations: 92.69 kB / 0.8129 GB, free: 0.5195 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.905e-05/0.001829, allocations: 4 kB / 0.8129 GB, free: 0.5156 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001101/0.001939, allocations: 23.73 kB / 0.813 GB, free: 0.4922 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001171/0.002056, allocations: 16.58 kB / 0.813 GB, free: 488 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 5.745e-05/0.002114, allocations: 31.97 kB / 0.813 GB, free: 456 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001952/0.002309, allocations: 272.2 kB / 0.8133 GB, free: 184 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002071/0.002516, allocations: 166.8 kB / 0.8134 GB, free: 12 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002222/0.002738, allocations: 220.3 kB / 0.8136 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.627e-05/0.002834, allocations: 111.6 kB / 0.8137 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.008e-05/0.002874, allocations: 29.69 kB / 0.8138 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 2.911e-05/0.002904, allocations: 28 kB / 0.8138 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.288e-05/0.002976, allocations: 75.77 kB / 0.8139 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.568e-05/0.003072, allocations: 87.69 kB / 0.8139 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003032/0.003375, allocations: 247 kB / 0.8142 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.003382, allocations: 9.516 kB / 0.8142 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.11e-07/0.003383, allocations: 0 / 0.8142 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.003388, allocations: 0 / 0.8142 GB, free: 15.22 MB / 0.7761 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.0004535/0.003842, allocations: 0.6323 MB / 0.8148 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.003876, allocations: 13.09 kB / 0.8148 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.836e-05/0.003934, allocations: 60.7 kB / 0.8149 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002189/0.004153, allocations: 258.3 kB / 0.8151 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.543e-05/0.004188, allocations: 37.02 kB / 0.8152 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.375e-05/0.004212, allocations: 32.38 kB / 0.8152 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002472/0.004459, allocations: 263.3 kB / 0.8154 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.00447, allocations: 4.125 kB / 0.8154 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.093e-05/0.00449, allocations: 12.91 kB / 0.8155 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.004499, allocations: 8.375 kB / 0.8155 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.004599, allocations: 93.05 kB / 0.8156 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008821/0.005482, allocations: 0.8092 MB / 0.8163 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.838e-05/0.00556, allocations: 74.66 kB / 0.8164 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.237e-05/0.005582, allocations: 32.23 kB / 0.8164 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.005598, allocations: 0.6875 kB / 0.8164 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/0.005617, allocations: 38.27 kB / 0.8165 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.005619, allocations: 0 / 0.8165 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.0001453/0.005764, allocations: 77.52 kB / 0.8166 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.8e-05/0.005792, allocations: 82.48 kB / 0.8166 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002063/0.005998, allocations: 395.8 kB / 0.817 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/0.006007, allocations: 25.7 kB / 0.817 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.006112, allocations: 276.8 kB / 0.8173 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 9.909e-06/0.006122, allocations: 11.91 kB / 0.8173 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.285e-05/0.006195, allocations: 91.27 kB / 0.8174 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.006315, allocations: 0.5234 MB / 0.8179 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.61e-05/0.006341, allocations: 15.91 kB / 0.8179 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.382e-05/0.006385, allocations: 42.44 kB / 0.818 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.62e-05/0.006451, allocations: 67.22 kB / 0.818 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.006453, allocations: 0 / 0.818 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000111/0.006564, allocations: 113.5 kB / 0.8181 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/0.006574, allocations: 4 kB / 0.8181 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.006578, allocations: 0 / 0.8181 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.006588, allocations: 4 kB / 0.8181 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.076e-05/0.006669, allocations: 28.3 kB / 0.8182 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.006672, allocations: 5.281 kB / 0.8182 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.04e-05/0.006702, allocations: 19.83 kB / 0.8182 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.006713, allocations: 7.984 kB / 0.8182 GB, free: 10.88 MB / 0.7761 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 (couTruAllFal.booToInt[6].y,couTruAllFal.booToInt[5].y,couTruAllFal.booToInt[4].y,couTruAllFal.booToInt[3].y,couTruAllFal.booToInt[2].y,couTruAllFal.booToInt[1].y,couTruAllFal.intEqu.y,couTruAllFal.mulMin.y,couTruAllFal.y,couTru.booToInt[6].y,couTru.booToInt[5].y,couTru.booToInt[4].y,couTru.booToInt[3].y,couTru.booToInt[2].y,couTru.booToInt[1].y,couTru.intEqu.y,couTru.mulMin.y,couTru.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 9.11e-05/0.006804, allocations: 180.5 kB / 0.8184 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.922e-05/0.006833, allocations: 19.86 kB / 0.8184 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001151/0.006948, allocations: 107.4 kB / 0.8185 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.00695, allocations: 0 / 0.8185 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.006951, allocations: 0 / 0.8185 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.006953, allocations: 2.469 kB / 0.8185 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002972/0.007251, allocations: 0.6473 MB / 0.8191 GB, free: 9.859 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.007252, allocations: 0 / 0.8191 GB, free: 9.859 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.474e-05/0.007267, allocations: 8 kB / 0.8191 GB, free: 9.852 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.00727, allocations: 4.531 kB / 0.8191 GB, free: 9.848 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.889e-06/0.007275, allocations: 4 kB / 0.8191 GB, free: 9.844 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.185e-06/0.007277, allocations: 4.797 kB / 0.8192 GB, free: 9.84 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.00728, allocations: 4 kB / 0.8192 GB, free: 9.836 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.852e-05/0.007358, allocations: 128.2 kB / 0.8193 GB, free: 9.676 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.94e-05/0.007377, allocations: 23.84 kB / 0.8193 GB, free: 9.652 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.04e-05/0.007388, allocations: 1.219 kB / 0.8193 GB, free: 9.652 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.037e-05/0.007408, allocations: 4 kB / 0.8193 GB, free: 9.648 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.471e-05/0.007423, allocations: 11.92 kB / 0.8193 GB, free: 9.637 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-06/0.007425, allocations: 0.8438 kB / 0.8193 GB, free: 9.637 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 9.17e-05/0.007516, allocations: 209.1 kB / 0.8195 GB, free: 9.43 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.1e-08/0.007517, allocations: 2.219 kB / 0.8195 GB, free: 9.43 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001488/0.007665, allocations: 51.78 kB / 0.8196 GB, free: 9.379 MB / 0.7761 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 7.889e-05/0.007744, allocations: 107.1 kB / 0.8197 GB, free: 9.262 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.73e-05/0.007832, allocations: 57.94 kB / 0.8197 GB, free: 9.203 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.007834, allocations: 5.156 kB / 0.8197 GB, free: 9.199 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.486e-05/0.007849, allocations: 20.64 kB / 0.8198 GB, free: 9.176 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000157/0.008006, allocations: 29.02 kB / 0.8198 GB, free: 9.148 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004107/0.008417, allocations: 457.6 kB / 0.8202 GB, free: 8.66 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.265e-05/0.008459, allocations: 83.97 kB / 0.8203 GB, free: 8.559 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.52e-05/0.008495, allocations: 17.62 kB / 0.8203 GB, free: 8.539 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.195e-05/0.008557, allocations: 87.33 kB / 0.8204 GB, free: 8.453 MB / 0.7761 GB Notification: Performance of SimCode: time 5.31e-07/0.008557, allocations: 0 / 0.8204 GB, free: 8.453 MB / 0.7761 GB Notification: Performance of Templates: time 0.003261/0.01182, allocations: 1.28 MB / 0.8216 GB, free: 7.211 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.923955986276269]