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.001007/0.001007, allocations: 92.22 kB / 19.65 MB, free: 280 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.0009849/0.0009849, allocations: 169 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.9872/0.9872, allocations: 177.1 MB / 203.4 MB, free: 5.527 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.009/2.009, allocations: 429.5 MB / 0.6732 GB, free: 4 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 1.903e-06/1.903e-06, allocations: 0 / 0.8782 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.362e-05/1.552e-05, allocations: 5.547 kB / 0.8782 GB, free: 6.293 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.00129/0.001305, allocations: 0.889 MB / 0.879 GB, free: 5.422 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002315/0.001537, allocations: 83.7 kB / 0.8791 GB, free: 5.34 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.011e-05/0.001607, allocations: 9.25 kB / 0.8791 GB, free: 5.332 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001129/0.00172, allocations: 25.33 kB / 0.8791 GB, free: 5.309 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001203/0.00184, allocations: 13.72 kB / 0.8792 GB, free: 5.297 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 6.508e-05/0.001905, allocations: 47.94 kB / 0.8792 GB, free: 5.25 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002033/0.002108, allocations: 256.7 kB / 0.8794 GB, free: 5 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002119/0.00232, allocations: 162.9 kB / 0.8796 GB, free: 4.836 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000198/0.002518, allocations: 220.9 kB / 0.8798 GB, free: 4.621 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.154e-05/0.00261, allocations: 111.6 kB / 0.8799 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.202e-05/0.002652, allocations: 28 kB / 0.8799 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 2.681e-05/0.002679, allocations: 28 kB / 0.88 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.455e-05/0.002733, allocations: 81.28 kB / 0.88 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.165e-05/0.002795, allocations: 83.7 kB / 0.8801 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002068/0.003002, allocations: 262.9 kB / 0.8804 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.003004, allocations: 0 / 0.8804 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.71e-07/0.003005, allocations: 1.469 kB / 0.8804 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.003009, allocations: 0 / 0.8804 GB, free: 4.039 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.0004674/0.003477, allocations: 0.6207 MB / 0.881 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.003509, allocations: 8.031 kB / 0.881 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.064e-05/0.00358, allocations: 73.81 kB / 0.8811 GB, free: 3.301 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002417/0.003822, allocations: 267.3 kB / 0.8813 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.25e-05/0.003864, allocations: 41.02 kB / 0.8814 GB, free: 2.977 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.612e-05/0.00389, allocations: 28.38 kB / 0.8814 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003155/0.004206, allocations: 282.6 kB / 0.8817 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.004216, allocations: 192 / 0.8817 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.004233, allocations: 8.375 kB / 0.8817 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.218e-06/0.004243, allocations: 8.375 kB / 0.8817 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/0.004397, allocations: 115.6 kB / 0.8818 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007505/0.005147, allocations: 0.8979 MB / 0.8827 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.988e-05/0.005247, allocations: 78.09 kB / 0.8827 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.916e-05/0.005276, allocations: 31.55 kB / 0.8828 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.005292, allocations: 0 / 0.8828 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.005311, allocations: 41.33 kB / 0.8828 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 7.11e-07/0.005311, allocations: 0 / 0.8828 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0001753/0.005487, allocations: 89.47 kB / 0.8829 GB, free: 1.301 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.005517, allocations: 77.11 kB / 0.883 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002314/0.005748, allocations: 384 kB / 0.8833 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.005759, allocations: 29.7 kB / 0.8834 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.005865, allocations: 279 kB / 0.8836 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.287e-06/0.005874, allocations: 7.953 kB / 0.8836 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.493e-05/0.005949, allocations: 95.28 kB / 0.8837 GB, free: 408 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.006072, allocations: 0.5157 MB / 0.8842 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.561e-05/0.006107, allocations: 19.98 kB / 0.8842 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.065e-05/0.006158, allocations: 47.34 kB / 0.8843 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.127e-05/0.006229, allocations: 71.25 kB / 0.8844 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.006232, allocations: 4 kB / 0.8844 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001273/0.006359, allocations: 129.5 kB / 0.8845 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.006369, allocations: 7.938 kB / 0.8845 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.006373, allocations: 4 kB / 0.8845 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.006386, allocations: 4 kB / 0.8845 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.487e-05/0.006471, allocations: 23.98 kB / 0.8845 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.401e-06/0.006476, allocations: 4 kB / 0.8845 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.82e-05/0.006504, allocations: 15.89 kB / 0.8845 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.006515, allocations: 4 kB / 0.8845 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 8.601e-05/0.006601, allocations: 182.4 kB / 0.8847 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.949e-05/0.006631, allocations: 23.86 kB / 0.8847 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001182/0.006749, allocations: 106.2 kB / 0.8848 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.00675, allocations: 0 / 0.8848 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.006753, allocations: 0 / 0.8848 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.006756, allocations: 7.938 kB / 0.8848 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003293/0.007086, allocations: 0.7132 MB / 0.8855 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.007087, allocations: 0 / 0.8855 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.397e-05/0.007101, allocations: 4 kB / 0.8855 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.007103, allocations: 8.125 kB / 0.8856 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.007109, allocations: 4 kB / 0.8856 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.007112, allocations: 7.922 kB / 0.8856 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.007113, allocations: 0 / 0.8856 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.505e-05/0.007188, allocations: 119.4 kB / 0.8857 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.698e-05/0.007205, allocations: 24.28 kB / 0.8857 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.007217, allocations: 0 / 0.8857 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.054e-05/0.007238, allocations: 7.938 kB / 0.8857 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/0.007257, allocations: 11.92 kB / 0.8857 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-06/0.007259, allocations: 0 / 0.8857 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001105/0.007369, allocations: 221.1 kB / 0.8859 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.007369, allocations: 4 kB / 0.8859 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001502/0.007519, 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 6.436e-05/0.007584, allocations: 107.2 kB / 0.8861 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001133/0.007697, allocations: 63.59 kB / 0.8862 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.007699, allocations: 0 / 0.8862 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.552e-05/0.007714, allocations: 19.61 kB / 0.8862 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001493/0.007863, allocations: 26.3 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.0004154/0.008279, allocations: 465.7 kB / 0.8866 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.332e-05/0.008322, allocations: 87.95 kB / 0.8867 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.795e-05/0.00837, allocations: 33.61 kB / 0.8868 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.36e-05/0.008404, allocations: 16.5 kB / 0.8868 GB, free: 13.03 MB / 0.8542 GB Notification: Performance of SimCode: time 6.21e-07/0.008404, allocations: 0 / 0.8868 GB, free: 13.03 MB / 0.8542 GB Notification: Performance of Templates: time 0.00299/0.01139, allocations: 1.23 MB / 0.888 GB, free: 11.82 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.07921338500455]