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.001107/0.001107, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001241/0.001241, allocations: 165 kB / 23.02 MB, free: 1.551 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.9551/0.9551, allocations: 177.1 MB / 203.4 MB, free: 5.656 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.181/2.181, allocations: 429.5 MB / 0.6732 GB, free: 4.039 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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 3.396e-06/3.396e-06, allocations: 0 / 0.8781 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.848e-05/4.188e-05, allocations: 6.609 kB / 0.8782 GB, free: 6.332 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.00226/0.002301, allocations: 0.8878 MB / 0.879 GB, free: 5.461 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002907/0.002592, allocations: 88.64 kB / 0.8791 GB, free: 5.375 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.43e-05/0.002676, allocations: 7.938 kB / 0.8791 GB, free: 5.367 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001242/0.002801, allocations: 18.17 kB / 0.8791 GB, free: 5.352 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001461/0.002947, allocations: 21.5 kB / 0.8791 GB, free: 5.332 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 7.358e-05/0.00302, allocations: 48.69 kB / 0.8792 GB, free: 5.285 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002808/0.003301, allocations: 252.3 kB / 0.8794 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002572/0.003558, allocations: 163.9 kB / 0.8796 GB, free: 4.875 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001544/0.003713, allocations: 191.6 kB / 0.8798 GB, free: 4.688 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001297/0.003842, allocations: 131.6 kB / 0.8799 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.222e-05/0.003885, allocations: 33.22 kB / 0.8799 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 3.222e-05/0.003917, allocations: 32 kB / 0.88 GB, free: 4.496 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.847e-05/0.003985, allocations: 87.73 kB / 0.88 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 9.107e-05/0.004076, allocations: 92.67 kB / 0.8801 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000263/0.004339, allocations: 282.9 kB / 0.8804 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.004343, allocations: 0 / 0.8804 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.553e-06/0.004345, allocations: 1.031 kB / 0.8804 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.004351, allocations: 0 / 0.8804 GB, free: 4.043 MB / 0.8386 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.0005481/0.0049, allocations: 0.6285 MB / 0.881 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.004937, allocations: 9.156 kB / 0.881 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.471e-05/0.005021, allocations: 72.66 kB / 0.8811 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003416/0.005363, allocations: 273.6 kB / 0.8814 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.347e-05/0.005406, allocations: 33.03 kB / 0.8814 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.474e-05/0.005441, allocations: 33.41 kB / 0.8814 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000343/0.005784, allocations: 282.6 kB / 0.8817 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.005799, allocations: 192 / 0.8817 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.12e-05/0.00582, allocations: 9.094 kB / 0.8817 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/0.005834, allocations: 8.375 kB / 0.8817 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001796/0.006013, allocations: 116.2 kB / 0.8818 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009656/0.006979, allocations: 0.9033 MB / 0.8827 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.007096, allocations: 74.73 kB / 0.8828 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.222e-05/0.007128, allocations: 27.38 kB / 0.8828 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/0.007152, allocations: 0.75 kB / 0.8828 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.007176, allocations: 37.39 kB / 0.8828 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.007178, allocations: 1.094 kB / 0.8828 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0002104/0.007389, allocations: 93.5 kB / 0.8829 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.007423, allocations: 81.05 kB / 0.883 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002483/0.007671, allocations: 388.7 kB / 0.8834 GB, free: 0.8086 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.007682, allocations: 27.08 kB / 0.8834 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.007803, allocations: 275.1 kB / 0.8837 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.105e-05/0.007814, allocations: 7.953 kB / 0.8837 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.105e-05/0.007896, allocations: 95.3 kB / 0.8838 GB, free: 404 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002831/0.008179, allocations: 0.519 MB / 0.8843 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.532e-05/0.008224, allocations: 19.98 kB / 0.8843 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.267e-05/0.008277, allocations: 45.55 kB / 0.8843 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.028e-05/0.008357, allocations: 75.23 kB / 0.8844 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.00836, allocations: 0 / 0.8844 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001442/0.008504, allocations: 133.5 kB / 0.8845 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.008518, allocations: 4 kB / 0.8845 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.008523, allocations: 0 / 0.8845 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.00854, allocations: 0 / 0.8845 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.008643, allocations: 33.02 kB / 0.8846 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.00865, allocations: 4 kB / 0.8846 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.244e-05/0.008683, allocations: 15.89 kB / 0.8846 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.008695, allocations: 5.531 kB / 0.8846 GB, free: 15.52 MB / 0.8542 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.0001017/0.008797, allocations: 183.5 kB / 0.8848 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.617e-05/0.008833, allocations: 23.84 kB / 0.8848 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001708/0.009004, allocations: 102.3 kB / 0.8849 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.009007, allocations: 0 / 0.8849 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.00901, allocations: 0 / 0.8849 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.009014, allocations: 0 / 0.8849 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003973/0.009411, allocations: 0.7252 MB / 0.8856 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.009413, allocations: 0 / 0.8856 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.024e-05/0.009433, allocations: 4 kB / 0.8856 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.009436, allocations: 0 / 0.8856 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.009443, allocations: 4 kB / 0.8856 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.009446, allocations: 8.125 kB / 0.8856 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.009447, allocations: 3.938 kB / 0.8856 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.523e-05/0.009543, allocations: 123.4 kB / 0.8857 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.13e-05/0.009564, allocations: 23.86 kB / 0.8857 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.009581, allocations: 3.984 kB / 0.8858 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.601e-05/0.009607, allocations: 7.938 kB / 0.8858 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.283e-05/0.00963, allocations: 4 kB / 0.8858 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-06/0.009632, allocations: 3.938 kB / 0.8858 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001279/0.00976, allocations: 225.1 kB / 0.886 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.00976, allocations: 0 / 0.886 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001648/0.009925, allocations: 55.73 kB / 0.886 GB, free: 13.92 MB / 0.8542 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.0001/0.01003, allocations: 99.25 kB / 0.8861 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001285/0.01015, allocations: 67.59 kB / 0.8862 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.01016, allocations: 0 / 0.8862 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.532e-05/0.01017, allocations: 15.62 kB / 0.8862 GB, free: 13.72 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001926/0.01036, allocations: 30.55 kB / 0.8862 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000485/0.01085, allocations: 454 kB / 0.8867 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.198e-05/0.0109, allocations: 91.95 kB / 0.8868 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.46e-05/0.01096, allocations: 37.59 kB / 0.8868 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.13e-05/0.011, allocations: 16.5 kB / 0.8868 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of SimCode: time 7.12e-07/0.011, allocations: 0 / 0.8868 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of Templates: time 0.003751/0.01475, allocations: 1.18 MB / 0.888 GB, free: 11.88 MB / 0.8542 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 -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.472243368625641]