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.001428/0.001428, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.001892/0.001892, allocations: 169 kB / 24.28 MB, free: 272 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.047/1.047, allocations: 177.1 MB / 204.6 MB, free: 5.617 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.942/1.942, allocations: 377.8 MB / 0.6239 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 177] 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 3.587e-06/3.587e-06, allocations: 0 / 0.8115 GB, free: 2.043 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.231e-05/3.59e-05, allocations: 6.875 kB / 0.8115 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.002513/0.002549, allocations: 0.8742 MB / 0.8124 GB, free: 1.18 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0003521/0.002901, allocations: 91.69 kB / 0.8125 GB, free: 1.09 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.003005, allocations: 7.938 kB / 0.8125 GB, free: 1.082 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001534/0.003159, allocations: 23.78 kB / 0.8125 GB, free: 1.059 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001642/0.003323, allocations: 17.02 kB / 0.8125 GB, free: 1.043 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001134/0.003436, allocations: 39.95 kB / 0.8125 GB, free: 1.004 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0003209/0.003757, allocations: 263.3 kB / 0.8128 GB, free: 0.7461 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003344/0.004092, allocations: 171.5 kB / 0.813 GB, free: 0.5742 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002283/0.00432, allocations: 191.6 kB / 0.8131 GB, free: 396 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001942/0.004514, allocations: 120.6 kB / 0.8133 GB, free: 276 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 6.951e-05/0.004584, allocations: 32 kB / 0.8133 GB, free: 244 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 4.917e-05/0.004633, allocations: 36.59 kB / 0.8133 GB, free: 208 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.004734, allocations: 87.73 kB / 0.8134 GB, free: 120 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0001208/0.004855, allocations: 96.64 kB / 0.8135 GB, free: 24 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0004222/0.005277, allocations: 267 kB / 0.8138 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.005283, allocations: 0 / 0.8138 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.743e-06/0.005285, allocations: 0.7812 kB / 0.8138 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 9.829e-06/0.005295, allocations: 0 / 0.8138 GB, free: 15.76 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.0008698/0.006164, allocations: 0.641 MB / 0.8144 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 6.379e-05/0.006228, allocations: 12.03 kB / 0.8144 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001548/0.006383, allocations: 65.95 kB / 0.8145 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005146/0.006898, allocations: 269.3 kB / 0.8147 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.63e-05/0.006964, allocations: 34.84 kB / 0.8147 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.005e-05/0.007014, allocations: 32.38 kB / 0.8148 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006038/0.007618, allocations: 274.7 kB / 0.815 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.007636, allocations: 8.109 kB / 0.815 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.875e-05/0.007675, allocations: 20.38 kB / 0.8151 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.771e-05/0.007692, allocations: 9.531 kB / 0.8151 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003035/0.007996, allocations: 119.4 kB / 0.8152 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001361/0.009357, allocations: 0.8886 MB / 0.8161 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.009523, allocations: 78.14 kB / 0.8161 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.707e-05/0.00957, allocations: 19.38 kB / 0.8161 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.784e-05/0.009598, allocations: 9.625 kB / 0.8162 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.009633, allocations: 37.38 kB / 0.8162 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=6): time 2.244e-06/0.009635, allocations: 0 / 0.8162 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.000325/0.00996, allocations: 81.52 kB / 0.8163 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.614e-05/0.01002, allocations: 90.53 kB / 0.8164 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004222/0.01044, allocations: 388 kB / 0.8167 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.01046, allocations: 25.7 kB / 0.8167 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001796/0.01064, allocations: 271.1 kB / 0.817 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.948e-05/0.01065, allocations: 20.44 kB / 0.817 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001339/0.01079, allocations: 88.08 kB / 0.8171 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001944/0.01098, allocations: 0.5157 MB / 0.8176 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.988e-05/0.01105, allocations: 25.73 kB / 0.8176 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.998e-05/0.01114, allocations: 50.02 kB / 0.8177 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001217/0.01126, allocations: 63.3 kB / 0.8177 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.01127, allocations: 4 kB / 0.8178 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002407/0.01151, allocations: 125.5 kB / 0.8179 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.01153, allocations: 4.625 kB / 0.8179 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.01154, allocations: 4 kB / 0.8179 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.01155, allocations: 0.6875 kB / 0.8179 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/0.01171, allocations: 37.14 kB / 0.8179 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.01172, allocations: 0 / 0.8179 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.18e-05/0.01178, allocations: 15.83 kB / 0.8179 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/0.0118, allocations: 12 kB / 0.8179 GB, free: 11.23 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 0.0001492/0.01195, allocations: 176.2 kB / 0.8181 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.489e-05/0.01201, allocations: 24.89 kB / 0.8181 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002267/0.01224, allocations: 90.33 kB / 0.8182 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.01224, allocations: 5 kB / 0.8182 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.01225, allocations: 0 / 0.8182 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.01225, allocations: 0 / 0.8182 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00058/0.01283, allocations: 0.7227 MB / 0.8189 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.01284, allocations: 0 / 0.8189 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.379e-05/0.01287, allocations: 5.344 kB / 0.8189 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.01288, allocations: 4 kB / 0.8189 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.01289, allocations: 7.938 kB / 0.8189 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.01289, allocations: 3.938 kB / 0.819 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.0129, allocations: 4.875 kB / 0.819 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001644/0.01306, allocations: 127.3 kB / 0.8191 GB, free: 9.961 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.386e-05/0.01309, allocations: 21.91 kB / 0.8191 GB, free: 9.941 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.01312, allocations: 4 kB / 0.8191 GB, free: 9.938 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.929e-05/0.01317, allocations: 15.94 kB / 0.8191 GB, free: 9.922 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.52e-05/0.01319, allocations: 0 / 0.8191 GB, free: 9.922 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-06/0.0132, allocations: 4 kB / 0.8191 GB, free: 9.918 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001956/0.0134, allocations: 217.8 kB / 0.8193 GB, free: 9.703 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.2e-07/0.0134, allocations: 0 / 0.8193 GB, free: 9.703 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000307/0.01371, allocations: 59.22 kB / 0.8194 GB, free: 9.648 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 0.0001356/0.01384, allocations: 103.1 kB / 0.8195 GB, free: 9.535 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001834/0.01402, allocations: 63.97 kB / 0.8195 GB, free: 9.469 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.01403, allocations: 0 / 0.8195 GB, free: 9.469 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.747e-05/0.01406, allocations: 24.05 kB / 0.8196 GB, free: 9.441 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002855/0.01434, allocations: 39.55 kB / 0.8196 GB, free: 9.406 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007271/0.01507, allocations: 450.4 kB / 0.82 GB, free: 8.922 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.938e-05/0.01514, allocations: 92.75 kB / 0.8201 GB, free: 8.812 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 9.533e-05/0.01523, allocations: 33.59 kB / 0.8202 GB, free: 8.773 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.003e-05/0.01528, allocations: 21.06 kB / 0.8202 GB, free: 8.754 MB / 0.7761 GB Notification: Performance of SimCode: time 8.12e-07/0.01528, allocations: 1.094 kB / 0.8202 GB, free: 8.754 MB / 0.7761 GB Notification: Performance of Templates: time 0.005125/0.02041, allocations: 1.198 MB / 0.8213 GB, free: 7.598 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.207738086115569]