Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.000822/0.000822, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001143/0.001965, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.000707/0.000707, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000982/0.001689, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9442/0.9442, allocations: 177.2 MB / 189.8 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07683/1.021, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.788/1.788, allocations: 378.4 MB / 0.6079 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4541/2.242, allocations: 123.3 MB / 0.7283 GB, free: 5.711 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_12_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_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 0.7296 GB, free: 4.422 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.092e-05/1.275e-05, allocations: 7.078 kB / 0.7296 GB, free: 4.414 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.001283/0.001296, allocations: 0.9208 MB / 0.7305 GB, free: 3.523 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001315/0.001427, allocations: 100.2 kB / 0.7306 GB, free: 3.426 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.937e-05/0.001486, allocations: 8.922 kB / 0.7306 GB, free: 3.418 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 6.657e-05/0.001553, allocations: 21.47 kB / 0.7307 GB, free: 3.398 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.899e-05/0.001632, allocations: 16.95 kB / 0.7307 GB, free: 3.383 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 5.391e-05/0.001686, allocations: 36.62 kB / 0.7307 GB, free: 3.348 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002103/0.001896, allocations: 254.3 kB / 0.7309 GB, free: 3.125 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001933/0.00209, allocations: 183.5 kB / 0.7311 GB, free: 2.941 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001964/0.002286, allocations: 239.5 kB / 0.7314 GB, free: 2.707 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.429e-05/0.00238, allocations: 105.3 kB / 0.7315 GB, free: 2.605 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.794e-05/0.002418, allocations: 28 kB / 0.7315 GB, free: 2.578 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 2.863e-05/0.002447, allocations: 28 kB / 0.7315 GB, free: 2.551 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.21e-05/0.002499, allocations: 67.73 kB / 0.7316 GB, free: 2.484 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.886e-05/0.002558, allocations: 70.38 kB / 0.7316 GB, free: 2.418 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001857/0.002743, allocations: 231 kB / 0.7319 GB, free: 2.191 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.081e-05/0.002754, allocations: 0 / 0.7319 GB, free: 2.191 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.31e-07/0.002755, allocations: 0 / 0.7319 GB, free: 2.191 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.386e-05/0.002769, allocations: 0 / 0.7319 GB, free: 2.191 MB / 0.698 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.0004471/0.003216, allocations: 0.5464 MB / 0.7324 GB, free: 1.613 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.691e-05/0.003243, allocations: 12.02 kB / 0.7324 GB, free: 1.602 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.709e-05/0.0033, allocations: 47.53 kB / 0.7324 GB, free: 1.559 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/0.003517, allocations: 237.8 kB / 0.7327 GB, free: 1.301 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.639e-05/0.003554, allocations: 32.97 kB / 0.7327 GB, free: 1.27 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.862e-05/0.003582, allocations: 32.38 kB / 0.7327 GB, free: 1.238 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002497/0.003832, allocations: 259.8 kB / 0.733 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.003842, allocations: 192 / 0.733 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/0.003859, allocations: 20.86 kB / 0.733 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.866e-06/0.003868, allocations: 9.781 kB / 0.733 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001064/0.003975, allocations: 101.1 kB / 0.7331 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005816/0.004556, allocations: 0.6127 MB / 0.7337 GB, free: 208 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003233/0.00488, allocations: 62.53 kB / 0.7338 GB, free: 128 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.765e-05/0.004897, allocations: 17.89 kB / 0.7338 GB, free: 104 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.004913, allocations: 4.5 kB / 0.7338 GB, free: 100 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.004932, allocations: 39.22 kB / 0.7338 GB, free: 52 kB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 8.11e-07/0.004932, allocations: 0 / 0.7338 GB, free: 52 kB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0001379/0.00507, allocations: 62.3 kB / 0.7339 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.806e-05/0.005098, allocations: 77.11 kB / 0.734 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.00525, allocations: 289.6 kB / 0.7342 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/0.00526, allocations: 29.7 kB / 0.7343 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.848e-05/0.005329, allocations: 197.9 kB / 0.7345 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.697e-06/0.005337, allocations: 7.906 kB / 0.7345 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.377e-05/0.005391, allocations: 73.61 kB / 0.7345 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.228e-05/0.005463, allocations: 336.4 kB / 0.7349 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.707e-05/0.00549, allocations: 15.98 kB / 0.7349 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.302e-05/0.005523, allocations: 35.11 kB / 0.7349 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.859e-05/0.005582, allocations: 73.53 kB / 0.735 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.005584, allocations: 0 / 0.735 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 8.781e-05/0.005672, allocations: 90.34 kB / 0.7351 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.005682, allocations: 8 kB / 0.7351 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.005686, allocations: 0.5 kB / 0.7351 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.005697, allocations: 1.062 kB / 0.7351 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.33e-05/0.00579, allocations: 39.98 kB / 0.7351 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.895e-06/0.005793, allocations: 0 / 0.7351 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.974e-05/0.005823, allocations: 16.89 kB / 0.7351 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.005833, allocations: 4 kB / 0.7351 GB, free: 14.66 MB / 0.7136 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 8.769e-05/0.005921, allocations: 140.2 kB / 0.7353 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/0.005946, allocations: 11.98 kB / 0.7353 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/0.006048, allocations: 89.86 kB / 0.7354 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.00605, allocations: 5.109 kB / 0.7354 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.006051, allocations: 3.938 kB / 0.7354 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.006054, allocations: 3.984 kB / 0.7354 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002165/0.006271, allocations: 450.2 kB / 0.7358 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.006273, allocations: 4 kB / 0.7358 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.387e-05/0.006287, allocations: 7.938 kB / 0.7358 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.257e-05/0.0063, allocations: 13.12 kB / 0.7358 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.006302, allocations: 4 kB / 0.7358 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.487e-06/0.006305, allocations: 0 / 0.7358 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.006307, allocations: 4.641 kB / 0.7358 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.00631, allocations: 7.938 kB / 0.7358 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.748e-05/0.006368, allocations: 92.8 kB / 0.7359 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.006378, allocations: 0 / 0.7359 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.524e-05/0.006403, allocations: 8.531 kB / 0.7359 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.796e-05/0.006421, allocations: 11.88 kB / 0.7359 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-06/0.006423, allocations: 1.25 kB / 0.7359 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.949e-05/0.006482, allocations: 82.77 kB / 0.736 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.006482, allocations: 0 / 0.736 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001299/0.006612, allocations: 56.98 kB / 0.7361 GB, free: 13.6 MB / 0.7136 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.133e-05/0.006674, allocations: 85.44 kB / 0.7362 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.372e-05/0.006757, allocations: 63.5 kB / 0.7362 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.006762, allocations: 0 / 0.7362 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.505e-05/0.006777, allocations: 18.95 kB / 0.7362 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001576/0.006935, allocations: 165 kB / 0.7364 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000425/0.00736, allocations: 475.2 kB / 0.7369 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.752e-05/0.007407, allocations: 83.97 kB / 0.7369 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.45e-05/0.007442, allocations: 22.12 kB / 0.737 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.168e-05/0.007503, allocations: 72.12 kB / 0.737 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of SimCode: time 5.62e-07/0.007504, allocations: 0 / 0.737 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of Templates: time 0.003099/0.0106, allocations: 1.361 MB / 0.7383 GB, free: 11.25 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.601213150657713]