Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001045/0.001045, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.00109/0.00109, allocations: 177 kB / 23.36 MB, free: 1.133 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.986/0.986, allocations: 177.1 MB / 203.8 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.505/2.505, allocations: 438.8 MB / 0.6826 GB, free: 13.57 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.194e-05/2.361e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.001823/0.001847, allocations: 1.055 MB / 0.8396 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0003519/0.002199, allocations: 179.2 kB / 0.8398 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.525e-05/0.002284, allocations: 7.938 kB / 0.8398 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001182/0.002402, allocations: 31.66 kB / 0.8398 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.000121/0.002523, allocations: 15.86 kB / 0.8399 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001455/0.002669, allocations: 71.88 kB / 0.8399 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002654/0.002934, allocations: 351.3 kB / 0.8403 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002763/0.00321, allocations: 293.5 kB / 0.8405 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002865/0.003497, allocations: 307.4 kB / 0.8408 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001634/0.00366, allocations: 163.5 kB / 0.841 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 5.047e-05/0.003711, allocations: 48 kB / 0.841 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 3.871e-05/0.003749, allocations: 56 kB / 0.8411 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 7.734e-05/0.003827, allocations: 135.6 kB / 0.8412 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 8.78e-05/0.003915, allocations: 127.7 kB / 0.8413 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002957/0.00421, allocations: 386.5 kB / 0.8417 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.004213, allocations: 0 / 0.8417 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.52e-07/0.004214, allocations: 0 / 0.8417 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.7e-06/0.00422, allocations: 0 / 0.8417 GB, free: 10.97 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.000651/0.004871, allocations: 0.5973 MB / 0.8423 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.004904, allocations: 12.92 kB / 0.8423 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.774e-05/0.004982, allocations: 68.89 kB / 0.8424 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000272/0.005254, allocations: 270 kB / 0.8426 GB, free: 9.98 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.54e-05/0.0053, allocations: 45.38 kB / 0.8427 GB, free: 9.934 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.714e-05/0.005337, allocations: 48.38 kB / 0.8427 GB, free: 9.887 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003915/0.005728, allocations: 382 kB / 0.8431 GB, free: 9.5 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.005741, allocations: 4.172 kB / 0.8431 GB, free: 9.496 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.567e-05/0.005766, allocations: 20.38 kB / 0.8431 GB, free: 9.477 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.005775, allocations: 12.38 kB / 0.8431 GB, free: 9.465 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001774/0.005953, allocations: 152.5 kB / 0.8433 GB, free: 9.312 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009368/0.00689, allocations: 0.8403 MB / 0.8441 GB, free: 8.449 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002416/0.007131, allocations: 97.08 kB / 0.8442 GB, free: 8.336 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.786e-05/0.007169, allocations: 34.08 kB / 0.8442 GB, free: 8.297 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.007189, allocations: 7.938 kB / 0.8442 GB, free: 8.289 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.007211, allocations: 34.56 kB / 0.8443 GB, free: 8.246 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=20): time 2.415e-06/0.007214, allocations: 3.938 kB / 0.8443 GB, free: 8.242 MB / 0.8073 GB Notification: Performance of matching and sorting (n=20): time 0.0002813/0.007495, allocations: 129.5 kB / 0.8444 GB, free: 8.109 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.007534, allocations: 85.11 kB / 0.8445 GB, free: 8.008 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.007721, allocations: 300.5 kB / 0.8447 GB, free: 7.703 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.007735, allocations: 25.7 kB / 0.8448 GB, free: 7.672 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 8.953e-05/0.007825, allocations: 228.9 kB / 0.845 GB, free: 7.445 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.732e-05/0.007862, allocations: 67.45 kB / 0.8451 GB, free: 7.379 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.29e-05/0.007945, allocations: 93.58 kB / 0.8451 GB, free: 7.281 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.286e-05/0.008028, allocations: 338.8 kB / 0.8455 GB, free: 6.941 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.929e-05/0.008067, allocations: 23.98 kB / 0.8455 GB, free: 6.918 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.541e-05/0.008123, allocations: 57.66 kB / 0.8455 GB, free: 6.855 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.671e-05/0.008219, allocations: 93.55 kB / 0.8456 GB, free: 6.758 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.008221, allocations: 4 kB / 0.8456 GB, free: 6.754 MB / 0.8073 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0001546/0.008376, allocations: 139.8 kB / 0.8458 GB, free: 6.613 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.008389, allocations: 4 kB / 0.8458 GB, free: 6.609 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.008394, allocations: 0 / 0.8458 GB, free: 6.609 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.008409, allocations: 4 kB / 0.8458 GB, free: 6.605 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.008551, allocations: 55.89 kB / 0.8458 GB, free: 6.551 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.008557, allocations: 7.938 kB / 0.8458 GB, free: 6.543 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.563e-05/0.008603, allocations: 27.78 kB / 0.8459 GB, free: 6.516 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.008619, allocations: 8 kB / 0.8459 GB, free: 6.508 MB / 0.8073 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 (32): * Single equations (assignments): 32 * 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.0001047/0.008723, allocations: 138.7 kB / 0.846 GB, free: 6.359 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.818e-05/0.008761, allocations: 19.92 kB / 0.846 GB, free: 6.34 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001859/0.008947, allocations: 132.1 kB / 0.8462 GB, free: 6.203 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.00895, allocations: 4 kB / 0.8462 GB, free: 6.199 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.008952, allocations: 0 / 0.8462 GB, free: 6.199 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.008957, allocations: 7.875 kB / 0.8462 GB, free: 6.191 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007388/0.009696, allocations: 0.7202 MB / 0.8469 GB, free: 5.383 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.009701, allocations: 4 kB / 0.8469 GB, free: 5.379 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.347e-05/0.009784, allocations: 48.53 kB / 0.8469 GB, free: 5.332 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.009789, allocations: 4 kB / 0.8469 GB, free: 5.328 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.009802, allocations: 15.98 kB / 0.8469 GB, free: 5.312 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/0.009809, allocations: 11.94 kB / 0.8469 GB, free: 5.301 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.009812, allocations: 4 kB / 0.847 GB, free: 5.297 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001808/0.009993, allocations: 265.2 kB / 0.8472 GB, free: 4.961 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.513e-05/0.01002, allocations: 27.8 kB / 0.8472 GB, free: 4.934 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.01004, allocations: 15.98 kB / 0.8472 GB, free: 4.918 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.137e-05/0.01009, allocations: 12 kB / 0.8473 GB, free: 4.906 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.146e-05/0.01014, allocations: 35.84 kB / 0.8473 GB, free: 4.871 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.01015, allocations: 11.98 kB / 0.8473 GB, free: 4.859 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 5.927e-05/0.01021, allocations: 82.72 kB / 0.8474 GB, free: 4.777 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.01021, allocations: 0 / 0.8474 GB, free: 4.777 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001976/0.01041, allocations: 87.62 kB / 0.8475 GB, free: 4.691 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 6 (couTru.y,couTru.intEqu.y,couTru.mulMin.y,couTruAllFal.y,couTruAllFal.intEqu.y,couTruAllFal.mulMin.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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 9.938e-05/0.01051, allocations: 96.28 kB / 0.8476 GB, free: 4.59 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000151/0.01066, allocations: 121 kB / 0.8477 GB, free: 4.473 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/0.01067, allocations: 4 kB / 0.8477 GB, free: 4.469 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.516e-05/0.01073, allocations: 64.62 kB / 0.8477 GB, free: 4.402 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001871/0.01092, allocations: 41.73 kB / 0.8478 GB, free: 4.363 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006726/0.01159, allocations: 0.7224 MB / 0.8485 GB, free: 3.551 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.746e-05/0.01166, allocations: 108.3 kB / 0.8486 GB, free: 3.426 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 6.462e-05/0.01172, allocations: 26.28 kB / 0.8486 GB, free: 3.398 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.298e-05/0.01182, allocations: 91.34 kB / 0.8487 GB, free: 3.309 MB / 0.8073 GB Notification: Performance of SimCode: time 6.81e-07/0.01182, allocations: 0 / 0.8487 GB, free: 3.309 MB / 0.8073 GB Notification: Performance of Templates: time 0.004341/0.01616, allocations: 2.077 MB / 0.8507 GB, free: 1.27 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.363511810079217]