Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009408/0.0009408, allocations: 81.95 kB / 21.47 MB, free: 3.027 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.0009663/0.0009663, allocations: 167.1 kB / 24.87 MB, free: 8.867 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.9352/0.9352, allocations: 177.1 MB / 205.3 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.766/1.766, allocations: 359 MB / 0.6063 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.475e-06/2.475e-06, allocations: 0 / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.844e-05/2.091e-05, allocations: 3.5 kB / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.001834/0.001855, allocations: 0.8705 MB / 0.7892 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002646/0.00212, allocations: 91.69 kB / 0.7892 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.652e-05/0.002216, allocations: 4.688 kB / 0.7892 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001346/0.002351, allocations: 19.8 kB / 0.7893 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.000158/0.002509, allocations: 16.61 kB / 0.7893 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 7.732e-05/0.002586, allocations: 39.97 kB / 0.7893 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002241/0.00281, allocations: 259.9 kB / 0.7896 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002503/0.00306, allocations: 174.8 kB / 0.7897 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000226/0.003286, allocations: 216.4 kB / 0.7899 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.003397, allocations: 111.7 kB / 0.79 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.789e-05/0.003435, allocations: 29.25 kB / 0.7901 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 3.026e-05/0.003465, allocations: 28 kB / 0.7901 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.704e-05/0.003532, allocations: 71.77 kB / 0.7902 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.51e-05/0.003608, allocations: 97.22 kB / 0.7903 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002371/0.003845, allocations: 247 kB / 0.7905 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.003847, allocations: 0 / 0.7905 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.61e-07/0.003847, allocations: 0 / 0.7905 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.003854, allocations: 1.219 kB / 0.7905 GB, free: 9.977 MB / 0.7448 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.0005015/0.004355, allocations: 0.6362 MB / 0.7911 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.004397, allocations: 8.031 kB / 0.7911 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.284e-05/0.00447, allocations: 69.33 kB / 0.7912 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002728/0.004743, allocations: 261.3 kB / 0.7914 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.136e-05/0.004784, allocations: 33.02 kB / 0.7915 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.829e-05/0.004812, allocations: 36.31 kB / 0.7915 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002727/0.005085, allocations: 255.5 kB / 0.7917 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.005095, allocations: 192 / 0.7917 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.938e-05/0.005115, allocations: 16.38 kB / 0.7918 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.005122, allocations: 8.906 kB / 0.7918 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.005228, allocations: 92.2 kB / 0.7919 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007726/0.006001, allocations: 0.8177 MB / 0.7927 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.774e-05/0.006099, allocations: 74.72 kB / 0.7927 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.588e-05/0.006124, allocations: 23.55 kB / 0.7928 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.006143, allocations: 5.125 kB / 0.7928 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.006165, allocations: 41.33 kB / 0.7928 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 8.81e-07/0.006166, allocations: 3.938 kB / 0.7928 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0001786/0.006345, allocations: 84.97 kB / 0.7929 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.006386, allocations: 77.11 kB / 0.793 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002391/0.006626, allocations: 387.8 kB / 0.7933 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.006641, allocations: 29.7 kB / 0.7934 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.006759, allocations: 267.1 kB / 0.7936 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.165e-05/0.006771, allocations: 15.91 kB / 0.7936 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.141e-05/0.006852, allocations: 95.27 kB / 0.7937 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.007001, allocations: 0.5156 MB / 0.7942 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.538e-05/0.007027, allocations: 8.719 kB / 0.7942 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.365e-05/0.00707, allocations: 53.52 kB / 0.7943 GB, free: 5.879 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.573e-05/0.007136, allocations: 64.88 kB / 0.7943 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.007138, allocations: 0 / 0.7943 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001275/0.007266, allocations: 117.4 kB / 0.7945 GB, free: 5.688 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.007278, allocations: 8 kB / 0.7945 GB, free: 5.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.007283, allocations: 1.281 kB / 0.7945 GB, free: 5.68 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.326e-06/0.007291, allocations: 4.031 kB / 0.7945 GB, free: 5.676 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.79e-05/0.007369, allocations: 27.98 kB / 0.7945 GB, free: 5.648 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/0.007371, allocations: 1.594 kB / 0.7945 GB, free: 5.648 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.145e-05/0.007403, allocations: 19.83 kB / 0.7945 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.007415, allocations: 15.92 kB / 0.7945 GB, free: 5.613 MB / 0.7448 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 9.527e-05/0.00751, allocations: 176.1 kB / 0.7947 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.617e-05/0.007546, allocations: 23.86 kB / 0.7947 GB, free: 5.406 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001158/0.007662, allocations: 95.22 kB / 0.7948 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.007664, allocations: 0 / 0.7948 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.007667, allocations: 4.531 kB / 0.7948 GB, free: 5.301 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.007669, allocations: 0 / 0.7948 GB, free: 5.301 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003005/0.00797, allocations: 0.6445 MB / 0.7954 GB, free: 4.605 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.007971, allocations: 1.188 kB / 0.7954 GB, free: 4.605 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.433e-05/0.007985, allocations: 7.938 kB / 0.7955 GB, free: 4.598 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.007987, allocations: 0 / 0.7955 GB, free: 4.598 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.679e-06/0.007992, allocations: 4.531 kB / 0.7955 GB, free: 4.594 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.007994, allocations: 9.359 kB / 0.7955 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.007995, allocations: 0 / 0.7955 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.759e-05/0.008073, allocations: 127.3 kB / 0.7956 GB, free: 4.426 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.609e-05/0.008089, allocations: 24.94 kB / 0.7956 GB, free: 4.402 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.008102, allocations: 4 kB / 0.7956 GB, free: 4.398 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.929e-05/0.008122, allocations: 4 kB / 0.7956 GB, free: 4.395 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.666e-05/0.008138, allocations: 12.89 kB / 0.7956 GB, free: 4.383 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.008141, allocations: 4 kB / 0.7956 GB, free: 4.379 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003521/0.008493, allocations: 205.1 kB / 0.7958 GB, free: 4.18 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.008493, allocations: 1.719 kB / 0.7958 GB, free: 4.18 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001486/0.008642, allocations: 51.78 kB / 0.7959 GB, free: 4.129 MB / 0.7448 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 7.179e-05/0.008714, allocations: 107.2 kB / 0.796 GB, free: 4.016 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.126e-05/0.008805, allocations: 56.47 kB / 0.796 GB, free: 3.957 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.008806, allocations: 0 / 0.796 GB, free: 3.957 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.585e-05/0.008822, allocations: 25.83 kB / 0.7961 GB, free: 3.93 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001476/0.00897, allocations: 22.05 kB / 0.7961 GB, free: 3.906 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003955/0.009365, allocations: 469.6 kB / 0.7965 GB, free: 3.398 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.224e-05/0.009408, allocations: 84.47 kB / 0.7966 GB, free: 3.297 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.447e-05/0.009442, allocations: 25.06 kB / 0.7966 GB, free: 3.277 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.594e-05/0.009498, allocations: 86.2 kB / 0.7967 GB, free: 3.191 MB / 0.7448 GB Notification: Performance of SimCode: time 3.91e-07/0.009498, allocations: 0 / 0.7967 GB, free: 3.191 MB / 0.7448 GB Notification: Performance of Templates: time 0.003227/0.01273, allocations: 1.287 MB / 0.798 GB, free: 1.949 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.sim & ./Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.8492603758350015]