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.001018/0.001018, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.0009385/0.0009385, allocations: 161 kB / 23.82 MB, free: 0.7461 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.9348/0.9348, 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.835/1.835, allocations: 377.8 MB / 0.6236 GB, free: 8.531 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 2.615e-06/2.615e-06, allocations: 0 / 0.8115 GB, free: 1.719 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.467e-05/2.728e-05, allocations: 3.078 kB / 0.8115 GB, free: 1.715 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.001564/0.001591, allocations: 0.8795 MB / 0.8124 GB, free: 0.8555 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0002646/0.001855, allocations: 95.62 kB / 0.8125 GB, free: 0.7617 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.437e-05/0.00193, allocations: 4 kB / 0.8125 GB, free: 0.7578 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.000124/0.002054, allocations: 28.88 kB / 0.8125 GB, free: 0.7305 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001325/0.002186, allocations: 15.86 kB / 0.8125 GB, free: 0.7148 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 6.74e-05/0.002254, allocations: 35.97 kB / 0.8126 GB, free: 0.6797 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0002169/0.002471, allocations: 260.3 kB / 0.8128 GB, free: 436 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002217/0.002692, allocations: 170.8 kB / 0.813 GB, free: 260 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002115/0.002904, allocations: 220.2 kB / 0.8132 GB, free: 40 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.003061, allocations: 99.7 kB / 0.8133 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.156e-05/0.003103, allocations: 29.25 kB / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 2.865e-05/0.003132, allocations: 28 kB / 0.8133 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.074e-05/0.003192, allocations: 87.67 kB / 0.8134 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.909e-05/0.003262, allocations: 93.28 kB / 0.8135 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000229/0.00349, allocations: 247 kB / 0.8137 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.003493, allocations: 0 / 0.8137 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.22e-07/0.003494, allocations: 0 / 0.8137 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.003498, allocations: 0 / 0.8137 GB, free: 15.47 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.0004903/0.003989, allocations: 0.6294 MB / 0.8144 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.004027, allocations: 15.97 kB / 0.8144 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.121e-05/0.004108, allocations: 69.38 kB / 0.8144 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002798/0.004388, allocations: 257.7 kB / 0.8147 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.5e-05/0.004433, allocations: 41.02 kB / 0.8147 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.745e-05/0.00446, allocations: 29.12 kB / 0.8148 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003511/0.004811, allocations: 278.7 kB / 0.815 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.004823, allocations: 1.031 kB / 0.815 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/0.004844, allocations: 16.36 kB / 0.815 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.004854, allocations: 8.375 kB / 0.815 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001682/0.005022, allocations: 124.6 kB / 0.8152 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008342/0.005856, allocations: 0.8907 MB / 0.816 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.005961, allocations: 76.17 kB / 0.8161 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.065e-05/0.005992, allocations: 27.31 kB / 0.8161 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.00601, allocations: 4 kB / 0.8161 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.006032, allocations: 34.39 kB / 0.8162 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.006033, allocations: 0 / 0.8162 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.0001961/0.006229, allocations: 85.61 kB / 0.8162 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/0.006264, allocations: 82.8 kB / 0.8163 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002366/0.0065, allocations: 388 kB / 0.8167 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.006513, allocations: 29.69 kB / 0.8167 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003613/0.006874, allocations: 271.1 kB / 0.817 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.244e-05/0.006887, allocations: 17.42 kB / 0.817 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.345e-05/0.00697, allocations: 83.34 kB / 0.8171 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.007086, allocations: 0.5196 MB / 0.8176 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.137e-05/0.007128, allocations: 27.89 kB / 0.8176 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.871e-05/0.007176, allocations: 47.61 kB / 0.8177 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.22e-05/0.007259, allocations: 67.3 kB / 0.8177 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.007261, allocations: 4 kB / 0.8177 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001389/0.0074, allocations: 129.4 kB / 0.8178 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.007413, allocations: 4 kB / 0.8179 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.007419, allocations: 4.906 kB / 0.8179 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.007431, allocations: 0 / 0.8179 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.614e-05/0.007528, allocations: 29.67 kB / 0.8179 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.708e-06/0.007532, allocations: 0 / 0.8179 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.264e-05/0.007565, allocations: 19.83 kB / 0.8179 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.007577, allocations: 8 kB / 0.8179 GB, free: 10.96 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 (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 9.752e-05/0.007675, allocations: 180.1 kB / 0.8181 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.435e-05/0.007709, allocations: 24.48 kB / 0.8181 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001332/0.007842, allocations: 99.38 kB / 0.8182 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.007846, allocations: 8 kB / 0.8182 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.007849, allocations: 0.5312 kB / 0.8182 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.007851, allocations: 0 / 0.8182 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003521/0.008203, allocations: 0.7223 MB / 0.8189 GB, free: 9.855 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.008206, allocations: 5.141 kB / 0.8189 GB, free: 9.852 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.65e-05/0.008222, allocations: 4 kB / 0.8189 GB, free: 9.848 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.008226, allocations: 4 kB / 0.8189 GB, free: 9.844 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.008231, allocations: 0.5312 kB / 0.8189 GB, free: 9.844 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.008235, allocations: 7.875 kB / 0.8189 GB, free: 9.836 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.008237, allocations: 4.844 kB / 0.8189 GB, free: 9.832 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.742e-05/0.008324, allocations: 132.1 kB / 0.8191 GB, free: 9.668 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.767e-05/0.008342, allocations: 19.86 kB / 0.8191 GB, free: 9.648 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.008358, allocations: 4.938 kB / 0.8191 GB, free: 9.645 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.21e-05/0.00838, allocations: 11.92 kB / 0.8191 GB, free: 9.633 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.836e-05/0.008398, allocations: 0 / 0.8191 GB, free: 9.633 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.008401, allocations: 5.344 kB / 0.8191 GB, free: 9.629 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001155/0.008517, allocations: 217.1 kB / 0.8193 GB, free: 9.414 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.008517, allocations: 0 / 0.8193 GB, free: 9.414 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001612/0.008678, allocations: 51.78 kB / 0.8194 GB, free: 9.363 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 8.278e-05/0.008761, allocations: 109.9 kB / 0.8195 GB, free: 9.246 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001257/0.008887, allocations: 67.53 kB / 0.8195 GB, free: 9.176 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.008888, allocations: 0 / 0.8195 GB, free: 9.176 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.654e-05/0.008905, allocations: 16.5 kB / 0.8195 GB, free: 9.156 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001731/0.009078, allocations: 33 kB / 0.8196 GB, free: 9.125 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004532/0.009531, allocations: 457.2 kB / 0.82 GB, free: 8.637 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.926e-05/0.00958, allocations: 87.95 kB / 0.8201 GB, free: 8.531 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.268e-05/0.009633, allocations: 29.61 kB / 0.8201 GB, free: 8.5 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.178e-05/0.009665, allocations: 16.5 kB / 0.8201 GB, free: 8.484 MB / 0.7761 GB Notification: Performance of SimCode: time 5.71e-07/0.009665, allocations: 4 kB / 0.8201 GB, free: 8.48 MB / 0.7761 GB Notification: Performance of Templates: time 0.003442/0.01311, allocations: 1.232 MB / 0.8214 GB, free: 7.289 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: 5.031078131869435]