Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.0009696/0.0009696, allocations: 80.8 kB / 20.75 MB, free: 3.734 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.001449/0.001449, allocations: 161 kB / 24.17 MB, free: 324 kB / 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.9448/0.9448, allocations: 177.1 MB / 204.6 MB, free: 5.098 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.918/1.918, allocations: 389.6 MB / 0.6354 GB, free: 12.32 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.7752 GB, free: 5.41 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.598e-05/1.755e-05, allocations: 2.969 kB / 0.7752 GB, free: 5.406 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.001454/0.001472, allocations: 0.9094 MB / 0.7761 GB, free: 4.52 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0002237/0.001696, allocations: 103.5 kB / 0.7762 GB, free: 4.418 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.105e-05/0.001767, allocations: 4 kB / 0.7762 GB, free: 4.414 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001108/0.001877, allocations: 20.67 kB / 0.7762 GB, free: 4.395 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.000109/0.001986, allocations: 17.17 kB / 0.7762 GB, free: 4.379 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 5.566e-05/0.002042, allocations: 35.97 kB / 0.7763 GB, free: 4.344 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002029/0.002245, allocations: 264.3 kB / 0.7765 GB, free: 4.102 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001898/0.002435, allocations: 171.7 kB / 0.7767 GB, free: 3.941 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001831/0.002618, allocations: 219.5 kB / 0.7769 GB, free: 3.727 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 9.419e-05/0.002712, allocations: 122.4 kB / 0.777 GB, free: 3.609 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.476e-05/0.002747, allocations: 28 kB / 0.777 GB, free: 3.582 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 2.455e-05/0.002771, allocations: 28 kB / 0.777 GB, free: 3.555 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.907e-05/0.002831, allocations: 75.77 kB / 0.7771 GB, free: 3.48 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.838e-05/0.002889, allocations: 87.69 kB / 0.7772 GB, free: 3.395 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001909/0.00308, allocations: 255 kB / 0.7774 GB, free: 3.145 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.003082, allocations: 3.938 kB / 0.7774 GB, free: 3.141 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.31e-07/0.003082, allocations: 2.75 kB / 0.7775 GB, free: 3.141 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.003086, allocations: 0 / 0.7775 GB, free: 3.141 MB / 0.7292 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.000356/0.003442, allocations: 495.9 kB / 0.7779 GB, free: 2.629 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.896e-05/0.003471, allocations: 9.344 kB / 0.7779 GB, free: 2.621 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.449e-05/0.003525, allocations: 56.89 kB / 0.778 GB, free: 2.566 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002142/0.003739, allocations: 229.1 kB / 0.7782 GB, free: 2.316 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.506e-05/0.003775, allocations: 39.11 kB / 0.7782 GB, free: 2.281 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.426e-05/0.003799, allocations: 32.38 kB / 0.7783 GB, free: 2.25 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002442/0.004043, allocations: 259.8 kB / 0.7785 GB, free: 1.98 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.004053, allocations: 192 / 0.7785 GB, free: 1.98 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.00407, allocations: 16.38 kB / 0.7785 GB, free: 1.965 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.004078, allocations: 8.375 kB / 0.7785 GB, free: 1.957 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.004186, allocations: 105.8 kB / 0.7786 GB, free: 1.852 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006047/0.004791, allocations: 0.6211 MB / 0.7793 GB, free: 1.207 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.081e-05/0.004861, allocations: 61.89 kB / 0.7793 GB, free: 1.129 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.74e-05/0.004879, allocations: 18.48 kB / 0.7793 GB, free: 1.105 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.004893, allocations: 4.531 kB / 0.7793 GB, free: 1.102 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.663e-05/0.004909, allocations: 34.56 kB / 0.7794 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 8.52e-07/0.00491, allocations: 0.9375 kB / 0.7794 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0001234/0.005034, allocations: 65.61 kB / 0.7794 GB, free: 0.9883 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/0.005063, allocations: 77.7 kB / 0.7795 GB, free: 0.8945 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.005216, allocations: 284.6 kB / 0.7798 GB, free: 0.6055 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.186e-06/0.005224, allocations: 26.52 kB / 0.7798 GB, free: 0.5742 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.191e-05/0.005296, allocations: 200.8 kB / 0.78 GB, free: 380 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.098e-06/0.005305, allocations: 12.41 kB / 0.78 GB, free: 368 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.728e-05/0.005363, allocations: 71.05 kB / 0.7801 GB, free: 292 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.405e-05/0.005447, allocations: 338.7 kB / 0.7804 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.419e-05/0.005471, allocations: 15.98 kB / 0.7804 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.315e-05/0.005504, allocations: 39.67 kB / 0.7804 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.156e-05/0.005555, allocations: 50.33 kB / 0.7805 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.005557, allocations: 0 / 0.7805 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 9.557e-05/0.005653, allocations: 98.2 kB / 0.7806 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.005664, allocations: 5.719 kB / 0.7806 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.005669, allocations: 4 kB / 0.7806 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.00568, allocations: 0 / 0.7806 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.296e-05/0.005763, allocations: 27.98 kB / 0.7806 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-06/0.005766, allocations: 0 / 0.7806 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.289e-05/0.005799, allocations: 28.59 kB / 0.7807 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.005808, allocations: 4 kB / 0.7807 GB, free: 15.66 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 0.0003085/0.006116, allocations: 132.5 kB / 0.7808 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.916e-05/0.006146, allocations: 15.98 kB / 0.7808 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001119/0.006257, allocations: 89.77 kB / 0.7809 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.006259, allocations: 0 / 0.7809 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.00626, allocations: 0.875 kB / 0.7809 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.006264, allocations: 4 kB / 0.7809 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002197/0.006484, allocations: 446.2 kB / 0.7813 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.006486, allocations: 0 / 0.7813 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.494e-05/0.006501, allocations: 17.67 kB / 0.7813 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.006502, allocations: 0 / 0.7813 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.008e-06/0.006506, allocations: 4 kB / 0.7813 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.006508, allocations: 0 / 0.7813 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.006508, allocations: 0 / 0.7813 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.626e-05/0.006575, allocations: 104.1 kB / 0.7814 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.518e-05/0.00659, allocations: 16.91 kB / 0.7815 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.909e-06/0.0066, allocations: 0 / 0.7815 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.025e-05/0.00662, allocations: 8.531 kB / 0.7815 GB, free: 14.76 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.408e-05/0.006634, allocations: 11.92 kB / 0.7815 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-06/0.006636, allocations: 1.125 kB / 0.7815 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.129e-05/0.006697, allocations: 78.78 kB / 0.7815 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.1e-08/0.006697, allocations: 0 / 0.7815 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001292/0.006826, allocations: 56.55 kB / 0.7816 GB, free: 14.61 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 6.081e-05/0.006887, allocations: 85.17 kB / 0.7817 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.246e-05/0.00697, allocations: 58 kB / 0.7817 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/0.006975, allocations: 4 kB / 0.7817 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-05/0.006986, allocations: 13.86 kB / 0.7818 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001049/0.007091, allocations: 29.77 kB / 0.7818 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003775/0.007469, allocations: 447.5 kB / 0.7822 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.693e-05/0.007516, allocations: 88.98 kB / 0.7823 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.265e-05/0.007548, allocations: 17.64 kB / 0.7823 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.797e-05/0.007606, allocations: 71.36 kB / 0.7824 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of SimCode: time 5.21e-07/0.007607, allocations: 1.688 kB / 0.7824 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of Templates: time 0.003095/0.0107, allocations: 1.314 MB / 0.7837 GB, free: 12.51 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; mkfifo Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; head -c 1048576 < Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe >> ../files/Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.sim & (cd run_cvode && ../Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_gbode.pipe ; mkfifo Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_ida.pipe ; mkfifo Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.756869714707136]