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.00161/0.00161, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001786/0.001786, allocations: 161 kB / 23.81 MB, free: 0.7539 MB / 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 0.9871/0.9871, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.956/1.956, allocations: 377.8 MB / 0.6236 GB, free: 8.551 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.893e-06/1.893e-06, allocations: 0 / 0.8115 GB, free: 0.5938 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.355e-05/2.544e-05, allocations: 4.844 kB / 0.8115 GB, free: 0.5898 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.00223/0.002256, allocations: 0.8816 MB / 0.8124 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0003623/0.002618, allocations: 100.6 kB / 0.8125 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.997e-05/0.002718, allocations: 4 kB / 0.8125 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.000151/0.002869, allocations: 25.47 kB / 0.8125 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001662/0.003035, allocations: 20.7 kB / 0.8125 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 9.783e-05/0.003133, allocations: 35.97 kB / 0.8126 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003066/0.00344, allocations: 257 kB / 0.8128 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003162/0.003756, allocations: 170.9 kB / 0.813 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002288/0.003984, allocations: 187.6 kB / 0.8131 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002069/0.004191, allocations: 123.7 kB / 0.8133 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 6.458e-05/0.004256, allocations: 33.59 kB / 0.8133 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 4.674e-05/0.004303, allocations: 32 kB / 0.8133 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 9.232e-05/0.004395, allocations: 95.61 kB / 0.8134 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.004502, allocations: 95.69 kB / 0.8135 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003376/0.00484, allocations: 272.2 kB / 0.8138 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.004843, allocations: 0 / 0.8138 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.202e-06/0.004844, allocations: 0 / 0.8138 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.00485, allocations: 0 / 0.8138 GB, free: 14.31 MB / 0.7292 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.0007033/0.005554, allocations: 0.6336 MB / 0.8144 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.005595, allocations: 12.03 kB / 0.8144 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.005705, allocations: 64.7 kB / 0.8145 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004115/0.006116, allocations: 279.7 kB / 0.8147 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.616e-05/0.006172, allocations: 37.03 kB / 0.8148 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.595e-05/0.006218, allocations: 28.38 kB / 0.8148 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005113/0.006729, allocations: 290.6 kB / 0.8151 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.006746, allocations: 192 / 0.8151 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.963e-05/0.006776, allocations: 12.38 kB / 0.8151 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.454e-05/0.00679, allocations: 9.094 kB / 0.8151 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003005/0.007091, allocations: 123.4 kB / 0.8152 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001256/0.008347, allocations: 0.8796 MB / 0.8161 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/0.008489, allocations: 79.8 kB / 0.8161 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.505e-05/0.008534, allocations: 23.38 kB / 0.8162 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.008562, allocations: 8.734 kB / 0.8162 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.008589, allocations: 33.39 kB / 0.8162 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 1.754e-06/0.008591, allocations: 1.125 kB / 0.8162 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0002734/0.008864, allocations: 85.48 kB / 0.8163 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.008911, allocations: 85.09 kB / 0.8164 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003955/0.009307, allocations: 389.2 kB / 0.8167 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.009321, allocations: 25.7 kB / 0.8168 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/0.009494, allocations: 275.1 kB / 0.817 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.581e-05/0.009509, allocations: 13.28 kB / 0.817 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001298/0.009639, allocations: 91.33 kB / 0.8171 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001719/0.009811, allocations: 0.5118 MB / 0.8176 GB, free: 10.13 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.911e-05/0.00988, allocations: 25.73 kB / 0.8176 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.829e-05/0.009958, allocations: 47.3 kB / 0.8177 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.01007, allocations: 63.36 kB / 0.8177 GB, free: 9.984 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.01007, allocations: 4 kB / 0.8177 GB, free: 9.98 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000227/0.0103, allocations: 129.4 kB / 0.8179 GB, free: 9.848 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.01032, allocations: 6.844 kB / 0.8179 GB, free: 9.844 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.01032, allocations: 4 kB / 0.8179 GB, free: 9.84 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.01034, allocations: 0.6875 kB / 0.8179 GB, free: 9.84 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.01048, allocations: 32.77 kB / 0.8179 GB, free: 9.809 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.01049, allocations: 0 / 0.8179 GB, free: 9.809 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.747e-05/0.01055, allocations: 16.27 kB / 0.8179 GB, free: 9.793 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.883e-05/0.01056, allocations: 13.88 kB / 0.8179 GB, free: 9.781 MB / 0.7292 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.0001311/0.0107, allocations: 179.2 kB / 0.8181 GB, free: 9.598 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.905e-05/0.01076, allocations: 27.86 kB / 0.8181 GB, free: 9.57 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001838/0.01095, allocations: 92.7 kB / 0.8182 GB, free: 9.465 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.01095, allocations: 4 kB / 0.8182 GB, free: 9.461 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.01096, allocations: 0 / 0.8182 GB, free: 9.461 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.01096, allocations: 0 / 0.8182 GB, free: 9.461 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005462/0.0115, allocations: 0.7306 MB / 0.8189 GB, free: 8.672 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.01151, allocations: 0 / 0.8189 GB, free: 8.672 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.465e-05/0.01153, allocations: 4 kB / 0.819 GB, free: 8.668 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.01154, allocations: 4 kB / 0.819 GB, free: 8.664 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.01154, allocations: 0 / 0.819 GB, free: 8.664 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.01155, allocations: 4.438 kB / 0.819 GB, free: 8.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.01155, allocations: 9.891 kB / 0.819 GB, free: 8.652 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001315/0.01168, allocations: 127.3 kB / 0.8191 GB, free: 8.492 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.078e-05/0.01175, allocations: 19.89 kB / 0.8191 GB, free: 8.473 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.174e-05/0.01179, allocations: 7.938 kB / 0.8191 GB, free: 8.465 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.323e-05/0.01184, allocations: 7.938 kB / 0.8191 GB, free: 8.457 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.122e-05/0.01187, allocations: 1.156 kB / 0.8191 GB, free: 8.457 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.01188, allocations: 4 kB / 0.8191 GB, free: 8.453 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002326/0.01211, allocations: 221.1 kB / 0.8193 GB, free: 8.238 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/0.01211, allocations: 0.6562 kB / 0.8193 GB, free: 8.238 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002912/0.0124, allocations: 55.73 kB / 0.8194 GB, free: 8.184 MB / 0.7292 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.294e-05/0.01247, allocations: 106.8 kB / 0.8195 GB, free: 8.074 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001197/0.01259, allocations: 67.97 kB / 0.8196 GB, free: 8.004 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.0126, allocations: 0 / 0.8196 GB, free: 8.004 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.245e-05/0.01262, allocations: 19.62 kB / 0.8196 GB, free: 7.98 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001714/0.01279, allocations: 32.61 kB / 0.8196 GB, free: 7.949 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004713/0.01326, allocations: 463.7 kB / 0.8201 GB, free: 7.457 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.588e-05/0.01331, allocations: 87.97 kB / 0.8201 GB, free: 7.352 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.042e-05/0.01336, allocations: 33.59 kB / 0.8202 GB, free: 7.312 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.191e-05/0.01339, allocations: 16.5 kB / 0.8202 GB, free: 7.297 MB / 0.7292 GB Notification: Performance of SimCode: time 5.51e-07/0.01339, allocations: 4 kB / 0.8202 GB, free: 7.293 MB / 0.7292 GB Notification: Performance of Templates: time 0.003335/0.01672, allocations: 1.193 MB / 0.8214 GB, free: 6.137 MB / 0.7292 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: 5.230802382342517]