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.001152/0.001152, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001245/0.001245, allocations: 161 kB / 24.16 MB, free: 336 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 0.9018/0.9018, allocations: 177.1 MB / 204.6 MB, free: 5.234 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.909/1.909, allocations: 377.9 MB / 0.624 GB, free: 8.375 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.435e-06/2.435e-06, allocations: 0 / 0.76 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.73e-05/1.974e-05, allocations: 6.328 kB / 0.76 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.001425/0.001444, allocations: 0.8797 MB / 0.7609 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.000242/0.001686, allocations: 96.09 kB / 0.7609 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.872e-05/0.001765, allocations: 4.906 kB / 0.7609 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.00012/0.001885, allocations: 20.45 kB / 0.761 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001148/0.002, allocations: 18.53 kB / 0.761 GB, free: 5.652 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 6.23e-05/0.002062, allocations: 39.97 kB / 0.761 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002192/0.002281, allocations: 256.9 kB / 0.7613 GB, free: 5.383 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002088/0.00249, allocations: 178.8 kB / 0.7614 GB, free: 5.203 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002054/0.002696, allocations: 228.2 kB / 0.7617 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.783e-05/0.002793, allocations: 108.7 kB / 0.7618 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.877e-05/0.002832, allocations: 28 kB / 0.7618 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 2.419e-05/0.002856, allocations: 28 kB / 0.7618 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.859e-05/0.002915, allocations: 72.73 kB / 0.7619 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.152e-05/0.002976, allocations: 91.69 kB / 0.762 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002109/0.003187, allocations: 247 kB / 0.7622 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.003189, allocations: 4.719 kB / 0.7622 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.51e-07/0.003189, allocations: 0 / 0.7622 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.003194, allocations: 5.344 kB / 0.7622 GB, free: 4.41 MB / 0.7136 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.0004177/0.003612, allocations: 499.8 kB / 0.7627 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.003647, allocations: 12.03 kB / 0.7627 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.928e-05/0.003706, allocations: 52.89 kB / 0.7628 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.003936, allocations: 227.1 kB / 0.763 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.805e-05/0.003974, allocations: 33.03 kB / 0.763 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.846e-05/0.004003, allocations: 29.62 kB / 0.763 GB, free: 3.523 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000257/0.00426, allocations: 263.8 kB / 0.7633 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.00427, allocations: 192 / 0.7633 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.004286, allocations: 13.62 kB / 0.7633 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.004295, allocations: 8.375 kB / 0.7633 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.004406, allocations: 109 kB / 0.7634 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006184/0.005025, allocations: 0.6294 MB / 0.764 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.55e-05/0.0051, allocations: 61.8 kB / 0.7641 GB, free: 2.391 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.871e-05/0.005119, allocations: 19.27 kB / 0.7641 GB, free: 2.367 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.005134, allocations: 0 / 0.7641 GB, free: 2.367 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/0.005154, allocations: 34.56 kB / 0.7641 GB, free: 2.324 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.005155, allocations: 0 / 0.7641 GB, free: 2.324 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0001274/0.005282, allocations: 66.83 kB / 0.7642 GB, free: 2.254 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.005316, allocations: 81.09 kB / 0.7643 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.005471, allocations: 280.7 kB / 0.7645 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/0.005481, allocations: 26.27 kB / 0.7646 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.078e-05/0.005552, allocations: 195.6 kB / 0.7648 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.183e-05/0.005564, allocations: 19.84 kB / 0.7648 GB, free: 1.629 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.582e-05/0.00562, allocations: 73.61 kB / 0.7648 GB, free: 1.551 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.645e-05/0.005696, allocations: 338.7 kB / 0.7652 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.225e-05/0.005718, allocations: 12 kB / 0.7652 GB, free: 1.199 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001769/0.005895, allocations: 31.27 kB / 0.7652 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.19e-05/0.005947, allocations: 53.61 kB / 0.7653 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.00595, allocations: 0 / 0.7653 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 9.949e-05/0.006049, allocations: 104.5 kB / 0.7654 GB, free: 1 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/0.006059, allocations: 8 kB / 0.7654 GB, free: 0.9922 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.006064, allocations: 0 / 0.7654 GB, free: 0.9922 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.006074, allocations: 0 / 0.7654 GB, free: 0.9922 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.776e-05/0.006152, allocations: 27.98 kB / 0.7654 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.506e-06/0.006156, allocations: 0 / 0.7654 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.012e-05/0.006186, allocations: 19.89 kB / 0.7654 GB, free: 0.9453 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.006196, allocations: 4 kB / 0.7654 GB, free: 0.9414 MB / 0.7136 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 8.576e-05/0.006282, allocations: 132 kB / 0.7655 GB, free: 0.8047 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.77e-05/0.006309, allocations: 12.48 kB / 0.7656 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.006412, allocations: 97.34 kB / 0.7656 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.006414, allocations: 1.125 kB / 0.7656 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.006415, allocations: 0 / 0.7656 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.006419, allocations: 0.6562 kB / 0.7656 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002257/0.006644, allocations: 442.4 kB / 0.7661 GB, free: 224 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.006646, allocations: 4 kB / 0.7661 GB, free: 220 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.338e-05/0.006659, allocations: 15.86 kB / 0.7661 GB, free: 204 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.006662, allocations: 3.984 kB / 0.7661 GB, free: 200 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.966e-06/0.006665, allocations: 2.438 kB / 0.7661 GB, free: 200 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.006667, allocations: 4 kB / 0.7661 GB, free: 196 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.006669, allocations: 0 / 0.7661 GB, free: 196 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.074e-05/0.006729, allocations: 99.61 kB / 0.7662 GB, free: 68 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.578e-05/0.006745, allocations: 15.91 kB / 0.7662 GB, free: 52 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.092e-05/0.006756, allocations: 0 / 0.7662 GB, free: 52 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.82e-05/0.006774, allocations: 10.34 kB / 0.7662 GB, free: 44 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.426e-05/0.006789, allocations: 7.922 kB / 0.7662 GB, free: 36 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.006791, allocations: 4 kB / 0.7662 GB, free: 32 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.829e-05/0.006859, allocations: 78.84 kB / 0.7663 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.00686, allocations: 0 / 0.7663 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00013/0.00699, allocations: 63.61 kB / 0.7664 GB, free: 15.89 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 6.731e-05/0.007057, allocations: 77.45 kB / 0.7664 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.064e-05/0.007137, allocations: 58.86 kB / 0.7665 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.007143, allocations: 4 kB / 0.7665 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.237e-05/0.007155, allocations: 18.47 kB / 0.7665 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001075/0.007262, allocations: 32.61 kB / 0.7665 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003902/0.007653, allocations: 448.5 kB / 0.767 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.471e-05/0.007697, allocations: 87.95 kB / 0.7671 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.448e-05/0.007732, allocations: 18.3 kB / 0.7671 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.785e-05/0.00779, allocations: 71.36 kB / 0.7671 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of SimCode: time 4.61e-07/0.00779, allocations: 0.6562 kB / 0.7671 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of Templates: time 0.0031/0.01089, allocations: 1.313 MB / 0.7684 GB, free: 13.79 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: 4.75095038395375]