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.0008065/0.0008065, allocations: 91.67 kB / 20.95 MB, free: 3.305 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.003298/0.003298, allocations: 163 kB / 24.38 MB, free: 9.16 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.8677/0.8677, allocations: 177.1 MB / 204.8 MB, free: 5.402 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.776/1.776, allocations: 389.6 MB / 0.6356 GB, free: 12.2 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.734e-06/1.734e-06, allocations: 0 / 0.7755 GB, free: 5.137 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.296e-05/1.469e-05, allocations: 3.125 kB / 0.7755 GB, free: 5.133 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.001659/0.001673, allocations: 0.9246 MB / 0.7764 GB, free: 4.234 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0002392/0.001912, allocations: 95.56 kB / 0.7765 GB, free: 4.141 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.478e-05/0.001987, allocations: 4 kB / 0.7765 GB, free: 4.137 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001126/0.0021, allocations: 21.7 kB / 0.7766 GB, free: 4.117 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001114/0.002211, allocations: 16.8 kB / 0.7766 GB, free: 4.102 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 6.169e-05/0.002273, allocations: 39.97 kB / 0.7766 GB, free: 4.062 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002074/0.00248, allocations: 260.4 kB / 0.7769 GB, free: 3.828 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001966/0.002677, allocations: 178.8 kB / 0.777 GB, free: 3.66 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002011/0.002878, allocations: 226.8 kB / 0.7773 GB, free: 3.441 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 9.142e-05/0.002969, allocations: 107.6 kB / 0.7774 GB, free: 3.336 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.346e-05/0.003003, allocations: 28 kB / 0.7774 GB, free: 3.309 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 2.522e-05/0.003028, allocations: 28 kB / 0.7774 GB, free: 3.281 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.389e-05/0.003082, allocations: 75.77 kB / 0.7775 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.89e-05/0.003141, allocations: 87.69 kB / 0.7776 GB, free: 3.121 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002025/0.003343, allocations: 255 kB / 0.7778 GB, free: 2.871 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.644e-06/0.003345, allocations: 0 / 0.7778 GB, free: 2.871 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.41e-07/0.003346, allocations: 0 / 0.7778 GB, free: 2.871 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.003349, allocations: 7.719 kB / 0.7778 GB, free: 2.867 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.0003566/0.003706, allocations: 495.9 kB / 0.7783 GB, free: 2.355 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.003737, allocations: 13.34 kB / 0.7783 GB, free: 2.344 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.521e-05/0.003792, allocations: 52.89 kB / 0.7784 GB, free: 2.293 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002139/0.004006, allocations: 229.1 kB / 0.7786 GB, free: 2.043 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.651e-05/0.004043, allocations: 41.02 kB / 0.7786 GB, free: 2.004 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.741e-05/0.00407, allocations: 28.38 kB / 0.7786 GB, free: 1.977 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002493/0.004319, allocations: 263.8 kB / 0.7789 GB, free: 1.703 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.004329, allocations: 7.875 kB / 0.7789 GB, free: 1.699 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.004345, allocations: 12.38 kB / 0.7789 GB, free: 1.688 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.004353, allocations: 8.375 kB / 0.7789 GB, free: 1.68 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.00446, allocations: 105.1 kB / 0.779 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005882/0.005049, allocations: 0.6167 MB / 0.7796 GB, free: 0.9336 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.964e-05/0.005118, allocations: 61.16 kB / 0.7797 GB, free: 0.8555 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.984e-05/0.005138, allocations: 21.72 kB / 0.7797 GB, free: 0.8281 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.005152, allocations: 2.75 kB / 0.7797 GB, free: 0.8281 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/0.005169, allocations: 34.56 kB / 0.7797 GB, free: 0.7852 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.00517, allocations: 0 / 0.7797 GB, free: 0.7852 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0001241/0.005295, allocations: 70.06 kB / 0.7798 GB, free: 0.7109 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/0.005325, allocations: 77.11 kB / 0.7799 GB, free: 0.6172 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.005475, allocations: 284.6 kB / 0.7801 GB, free: 336 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.056e-06/0.005483, allocations: 25.7 kB / 0.7802 GB, free: 304 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.025e-05/0.005553, allocations: 196.8 kB / 0.7804 GB, free: 100 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.029e-05/0.005564, allocations: 17.12 kB / 0.7804 GB, free: 84 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.629e-05/0.00562, allocations: 73.61 kB / 0.7804 GB, free: 4 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.834e-05/0.005708, allocations: 338.7 kB / 0.7808 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.191e-05/0.00573, allocations: 13.16 kB / 0.7808 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.082e-05/0.005761, allocations: 32.36 kB / 0.7808 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.143e-05/0.005812, allocations: 53.61 kB / 0.7809 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.005814, allocations: 1 kB / 0.7809 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 8.728e-05/0.005901, allocations: 97.52 kB / 0.781 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.005913, allocations: 8.594 kB / 0.781 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.005916, allocations: 0 / 0.781 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.624e-06/0.005924, allocations: 0.5312 kB / 0.781 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.851e-05/0.006002, allocations: 28.92 kB / 0.781 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.636e-06/0.006006, allocations: 7.938 kB / 0.781 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.186e-05/0.006038, allocations: 27.77 kB / 0.781 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.006047, allocations: 4.5 kB / 0.781 GB, free: 15.38 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 7.542e-05/0.006122, allocations: 132.9 kB / 0.7812 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.006146, allocations: 8 kB / 0.7812 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001011/0.006247, allocations: 93.3 kB / 0.7813 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.006248, allocations: 0 / 0.7813 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.006251, allocations: 4.688 kB / 0.7813 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.006253, allocations: 0 / 0.7813 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002195/0.006472, allocations: 450.2 kB / 0.7817 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.006473, allocations: 0 / 0.7817 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.258e-05/0.006486, allocations: 9.062 kB / 0.7817 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.006488, allocations: 0 / 0.7817 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.907e-06/0.006492, allocations: 7.938 kB / 0.7817 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.006493, allocations: 0.5625 kB / 0.7817 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.006494, allocations: 0 / 0.7817 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.027e-05/0.006554, allocations: 104.7 kB / 0.7818 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.506e-05/0.006569, allocations: 15.91 kB / 0.7818 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.00658, allocations: 0.5 kB / 0.7818 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.358e-05/0.006603, allocations: 4 kB / 0.7818 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.455e-05/0.006618, allocations: 12.8 kB / 0.7818 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-06/0.00662, allocations: 0 / 0.7818 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.592e-05/0.006676, allocations: 79.66 kB / 0.7819 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006676, allocations: 4 kB / 0.7819 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000124/0.0068, allocations: 56.3 kB / 0.782 GB, free: 14.34 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 5.942e-05/0.006859, allocations: 89.98 kB / 0.7821 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.443e-05/0.006934, allocations: 52.72 kB / 0.7821 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.006937, allocations: 4 kB / 0.7821 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.228e-05/0.006949, allocations: 18.06 kB / 0.7821 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001005/0.00705, allocations: 27.39 kB / 0.7822 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003715/0.007421, allocations: 451.4 kB / 0.7826 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.13e-05/0.007463, allocations: 89.03 kB / 0.7827 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.228e-05/0.007495, allocations: 17.62 kB / 0.7827 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.905e-05/0.007554, allocations: 68.31 kB / 0.7827 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of SimCode: time 3.51e-07/0.007554, allocations: 0 / 0.7827 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of Templates: time 0.003177/0.01073, allocations: 1.315 MB / 0.784 GB, free: 12.23 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.489535321481526]