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.001479/0.001479, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001726/0.001726, allocations: 173 kB / 23.49 MB, free: 1.055 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 1.033/1.033, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.206/2.206, allocations: 429.5 MB / 0.6736 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.086e-06/3.086e-06, allocations: 0 / 0.8782 GB, free: 5.516 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.787e-05/4.096e-05, allocations: 8.281 kB / 0.8782 GB, free: 5.508 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.002565/0.002606, allocations: 0.8765 MB / 0.879 GB, free: 4.648 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0004281/0.003034, allocations: 92.61 kB / 0.8791 GB, free: 4.559 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.003155, allocations: 7.938 kB / 0.8791 GB, free: 4.551 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0001671/0.003322, allocations: 20.67 kB / 0.8791 GB, free: 4.531 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0001732/0.003496, allocations: 14.61 kB / 0.8792 GB, free: 4.52 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001132/0.003609, allocations: 43.95 kB / 0.8792 GB, free: 4.477 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0003341/0.003943, allocations: 260.6 kB / 0.8794 GB, free: 4.223 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003554/0.004298, allocations: 172 kB / 0.8796 GB, free: 4.051 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002385/0.004537, allocations: 191.6 kB / 0.8798 GB, free: 3.863 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002101/0.004747, allocations: 123.6 kB / 0.8799 GB, free: 3.742 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 8.438e-05/0.004831, allocations: 33.12 kB / 0.8799 GB, free: 3.711 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 4.512e-05/0.004876, allocations: 32 kB / 0.88 GB, free: 3.68 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.004978, allocations: 91.73 kB / 0.8801 GB, free: 3.59 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0001263/0.005104, allocations: 88.73 kB / 0.8801 GB, free: 3.504 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0004202/0.005524, allocations: 282.9 kB / 0.8804 GB, free: 3.227 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.005532, allocations: 1.156 kB / 0.8804 GB, free: 3.227 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.364e-06/0.005534, allocations: 0 / 0.8804 GB, free: 3.227 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.854e-05/0.005553, allocations: 0 / 0.8804 GB, free: 3.227 MB / 0.7917 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.0009079/0.006461, allocations: 0.6363 MB / 0.881 GB, free: 2.551 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/0.006513, allocations: 10.09 kB / 0.881 GB, free: 2.543 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001508/0.006664, allocations: 68.66 kB / 0.8811 GB, free: 2.477 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004679/0.007132, allocations: 276.5 kB / 0.8814 GB, free: 2.18 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.464e-05/0.007197, allocations: 33.02 kB / 0.8814 GB, free: 2.148 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.53e-05/0.007242, allocations: 38.84 kB / 0.8814 GB, free: 2.113 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005431/0.007785, allocations: 274.7 kB / 0.8817 GB, free: 1.824 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.007799, allocations: 192 / 0.8817 GB, free: 1.824 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.909e-05/0.007828, allocations: 12.31 kB / 0.8817 GB, free: 1.812 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.76e-05/0.007846, allocations: 8.375 kB / 0.8817 GB, free: 1.805 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003207/0.008166, allocations: 115.6 kB / 0.8818 GB, free: 1.691 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001374/0.009541, allocations: 0.8909 MB / 0.8827 GB, free: 0.7617 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.009704, allocations: 79.7 kB / 0.8828 GB, free: 0.6602 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.856e-05/0.009752, allocations: 27.55 kB / 0.8828 GB, free: 0.625 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.009777, allocations: 0 / 0.8828 GB, free: 0.625 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.009809, allocations: 37.89 kB / 0.8828 GB, free: 0.5781 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=6): time 1.683e-06/0.009811, allocations: 1.75 kB / 0.8828 GB, free: 0.5781 MB / 0.7917 GB Notification: Performance of matching and sorting (n=6): time 0.0003218/0.01013, allocations: 89.47 kB / 0.8829 GB, free: 496 kB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/0.01018, allocations: 77.11 kB / 0.883 GB, free: 400 kB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004134/0.0106, allocations: 384 kB / 0.8834 GB, free: 4 kB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.801e-05/0.01063, allocations: 25.7 kB / 0.8834 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/0.01081, allocations: 280.4 kB / 0.8837 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.923e-05/0.01082, allocations: 11.95 kB / 0.8837 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001476/0.01097, allocations: 95.28 kB / 0.8838 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001759/0.01115, allocations: 0.5211 MB / 0.8843 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.436e-05/0.01122, allocations: 16 kB / 0.8843 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.734e-05/0.01131, allocations: 51.34 kB / 0.8843 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001155/0.01143, allocations: 71.23 kB / 0.8844 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.01143, allocations: 4 kB / 0.8844 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002364/0.01166, allocations: 121.5 kB / 0.8845 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.01168, allocations: 4 kB / 0.8845 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.01169, allocations: 0 / 0.8845 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.01171, allocations: 3.984 kB / 0.8845 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.01187, allocations: 27.94 kB / 0.8846 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.01188, allocations: 4 kB / 0.8846 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.466e-05/0.01194, allocations: 19.84 kB / 0.8846 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.259e-05/0.01196, allocations: 11.98 kB / 0.8846 GB, free: 14.7 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 (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.0001528/0.01212, allocations: 178.5 kB / 0.8848 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.514e-05/0.01218, allocations: 19.91 kB / 0.8848 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000219/0.0124, allocations: 102.3 kB / 0.8849 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.0124, allocations: 0 / 0.8849 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.01241, allocations: 0 / 0.8849 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.01241, allocations: 7.938 kB / 0.8849 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005811/0.01299, allocations: 0.7211 MB / 0.8856 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.013, allocations: 4.406 kB / 0.8856 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.233e-05/0.01303, allocations: 4 kB / 0.8856 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.01304, allocations: 0 / 0.8856 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.01305, allocations: 7.984 kB / 0.8856 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.01305, allocations: 3.938 kB / 0.8856 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.01305, allocations: 0 / 0.8856 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001526/0.01321, allocations: 131.3 kB / 0.8857 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.38e-05/0.01324, allocations: 19.86 kB / 0.8858 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.371e-05/0.01326, allocations: 0 / 0.8858 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.568e-05/0.01331, allocations: 7.938 kB / 0.8858 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.123e-05/0.01334, allocations: 11.98 kB / 0.8858 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-06/0.01334, allocations: 0 / 0.8858 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0002126/0.01356, allocations: 221.1 kB / 0.886 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.4e-07/0.01356, allocations: 0 / 0.886 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003058/0.01386, allocations: 55.73 kB / 0.886 GB, free: 13.1 MB / 0.8073 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.0001371/0.014, allocations: 103.2 kB / 0.8861 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001917/0.01419, allocations: 63.61 kB / 0.8862 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.01419, allocations: 0 / 0.8862 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.097e-05/0.01423, allocations: 23.61 kB / 0.8862 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/0.01452, allocations: 30.17 kB / 0.8862 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000764/0.01529, allocations: 467.2 kB / 0.8867 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.202e-05/0.01536, allocations: 87.95 kB / 0.8868 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 9.518e-05/0.01545, allocations: 33.61 kB / 0.8868 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.627e-05/0.0155, allocations: 16.5 kB / 0.8868 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of SimCode: time 1.153e-06/0.0155, allocations: 0 / 0.8868 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of Templates: time 0.00527/0.02077, allocations: 1.192 MB / 0.888 GB, free: 11.04 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 -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.43676546914503]