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.0009315/0.0009315, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.00103/0.00103, allocations: 164.2 kB / 24.86 MB, free: 8.891 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.977/0.977, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.913/1.913, allocations: 377.9 MB / 0.6247 GB, free: 8.379 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.323e-06/1.323e-06, allocations: 0.6562 kB / 0.8128 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.266e-05/1.399e-05, allocations: 3.219 kB / 0.8128 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.001353/0.001367, allocations: 0.8703 MB / 0.8136 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.000212/0.001579, allocations: 87.69 kB / 0.8137 GB, free: 0.5234 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.086e-05/0.00165, allocations: 7.938 kB / 0.8137 GB, free: 0.5156 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001083/0.001759, allocations: 21.53 kB / 0.8137 GB, free: 0.4961 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001233/0.001882, allocations: 23.8 kB / 0.8137 GB, free: 484 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 6.038e-05/0.001942, allocations: 35.97 kB / 0.8138 GB, free: 448 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001936/0.002136, allocations: 261.3 kB / 0.814 GB, free: 188 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002046/0.00234, allocations: 174.8 kB / 0.8142 GB, free: 8 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000203/0.002543, allocations: 215.6 kB / 0.8144 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.873e-05/0.002632, allocations: 107.7 kB / 0.8145 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.321e-05/0.002665, allocations: 28 kB / 0.8145 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 2.529e-05/0.002691, allocations: 29.34 kB / 0.8146 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.637e-05/0.002747, allocations: 79.69 kB / 0.8146 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.697e-05/0.002814, allocations: 91.69 kB / 0.8147 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001986/0.003013, allocations: 239 kB / 0.815 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.003014, allocations: 5.594 kB / 0.815 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.01e-07/0.003015, allocations: 0 / 0.815 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.329e-06/0.00302, allocations: 0 / 0.815 GB, free: 15.23 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.00042/0.00344, allocations: 0.64 MB / 0.8156 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 2.682e-05/0.003466, allocations: 8.562 kB / 0.8156 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.994e-05/0.003526, allocations: 65.42 kB / 0.8157 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002216/0.003748, allocations: 257.2 kB / 0.8159 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.106e-05/0.003789, allocations: 34.61 kB / 0.8159 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.749e-05/0.003817, allocations: 40.36 kB / 0.816 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002438/0.00406, allocations: 258.6 kB / 0.8162 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.00407, allocations: 192 / 0.8162 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.977e-05/0.00409, allocations: 16.38 kB / 0.8162 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.004098, allocations: 8.906 kB / 0.8162 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.0042, allocations: 92.73 kB / 0.8163 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009283/0.005128, allocations: 0.813 MB / 0.8171 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.27e-05/0.005211, allocations: 75.34 kB / 0.8172 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.928e-05/0.00523, allocations: 23.38 kB / 0.8172 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.344e-05/0.005243, allocations: 1.375 kB / 0.8172 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.005265, allocations: 49.33 kB / 0.8173 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/0.005266, allocations: 0 / 0.8173 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.0001568/0.005423, allocations: 79.17 kB / 0.8173 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.005455, allocations: 81.11 kB / 0.8174 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002116/0.005666, allocations: 391.8 kB / 0.8178 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.005677, allocations: 29.7 kB / 0.8178 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.005792, allocations: 272.6 kB / 0.8181 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.016e-05/0.005802, allocations: 15.91 kB / 0.8181 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.456e-05/0.005877, allocations: 87.28 kB / 0.8182 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.005994, allocations: 0.5195 MB / 0.8187 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.685e-05/0.006021, allocations: 19.89 kB / 0.8187 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.722e-05/0.006058, allocations: 42.7 kB / 0.8187 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.849e-05/0.006116, allocations: 67.22 kB / 0.8188 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.006118, allocations: 2.062 kB / 0.8188 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001131/0.006231, allocations: 117.5 kB / 0.8189 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.848e-06/0.006241, allocations: 7.938 kB / 0.8189 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.006245, allocations: 0 / 0.8189 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.006258, allocations: 4.375 kB / 0.8189 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.811e-05/0.006336, allocations: 23.98 kB / 0.819 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.416e-06/0.00634, allocations: 6.281 kB / 0.819 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.934e-05/0.006369, allocations: 15.83 kB / 0.819 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.00638, allocations: 8 kB / 0.819 GB, free: 10.87 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.204e-05/0.006472, allocations: 182.9 kB / 0.8192 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.526e-05/0.006507, allocations: 20.39 kB / 0.8192 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001062/0.006613, allocations: 100.2 kB / 0.8193 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.006615, allocations: 0 / 0.8193 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.006616, allocations: 0 / 0.8193 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.006619, allocations: 0 / 0.8193 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002986/0.006917, allocations: 0.6456 MB / 0.8199 GB, free: 9.863 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.00692, allocations: 3.984 kB / 0.8199 GB, free: 9.859 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.186e-05/0.006932, allocations: 4 kB / 0.8199 GB, free: 9.855 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.006935, allocations: 7.938 kB / 0.8199 GB, free: 9.848 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.256e-06/0.006938, allocations: 1 kB / 0.8199 GB, free: 9.848 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.006939, allocations: 0 / 0.8199 GB, free: 9.848 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.006941, allocations: 4 kB / 0.8199 GB, free: 9.844 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.37e-05/0.007015, allocations: 128 kB / 0.8201 GB, free: 9.684 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.798e-05/0.007033, allocations: 24.88 kB / 0.8201 GB, free: 9.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.077e-05/0.007044, allocations: 0 / 0.8201 GB, free: 9.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.103e-05/0.007065, allocations: 11.92 kB / 0.8201 GB, free: 9.648 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.485e-05/0.007079, allocations: 16.72 kB / 0.8201 GB, free: 9.633 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-06/0.007081, allocations: 0 / 0.8201 GB, free: 9.633 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.85e-05/0.00717, allocations: 208.4 kB / 0.8203 GB, free: 9.43 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.00717, allocations: 0 / 0.8203 GB, free: 9.43 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001513/0.007321, allocations: 55.78 kB / 0.8204 GB, free: 9.375 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 6.346e-05/0.007385, allocations: 103.2 kB / 0.8205 GB, free: 9.262 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.834e-05/0.007473, allocations: 55.59 kB / 0.8205 GB, free: 9.203 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.007474, allocations: 0 / 0.8205 GB, free: 9.203 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.466e-05/0.007489, allocations: 21.91 kB / 0.8205 GB, free: 9.18 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001616/0.00765, allocations: 37 kB / 0.8206 GB, free: 9.145 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003846/0.008035, allocations: 457.8 kB / 0.821 GB, free: 8.652 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.249e-05/0.008077, allocations: 87.95 kB / 0.8211 GB, free: 8.547 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.349e-05/0.008111, allocations: 14.58 kB / 0.8211 GB, free: 8.531 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.951e-05/0.00817, allocations: 90.19 kB / 0.8212 GB, free: 8.441 MB / 0.7761 GB Notification: Performance of SimCode: time 4.21e-07/0.008171, allocations: 0 / 0.8212 GB, free: 8.441 MB / 0.7761 GB Notification: Performance of Templates: time 0.003132/0.0113, allocations: 1.302 MB / 0.8225 GB, free: 7.184 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.992073538247496]