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.001098/0.001098, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001497/0.002595, allocations: 449.7 kB / 10.37 MB, free: 328 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.00111/0.00111, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00133/0.00244, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9003/0.9003, allocations: 177.1 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08518/0.9854, allocations: 53.65 MB / 243.2 MB, free: 15.59 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.847/1.847, allocations: 378.2 MB / 0.6076 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4248/2.272, allocations: 123.3 MB / 0.728 GB, free: 5.832 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 2.154e-06/2.154e-06, allocations: 0 / 0.7293 GB, free: 4.562 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.166e-05/1.382e-05, allocations: 7.125 kB / 0.7293 GB, free: 4.555 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.001302/0.001316, allocations: 0.9145 MB / 0.7302 GB, free: 3.668 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.000134/0.00145, allocations: 103.6 kB / 0.7303 GB, free: 3.566 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.248e-05/0.001513, allocations: 4 kB / 0.7303 GB, free: 3.562 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 7.084e-05/0.001583, allocations: 21.27 kB / 0.7303 GB, free: 3.543 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.78e-05/0.001661, allocations: 17.34 kB / 0.7303 GB, free: 3.527 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 5.65e-05/0.001718, allocations: 39.95 kB / 0.7304 GB, free: 3.488 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002157/0.001933, allocations: 256.9 kB / 0.7306 GB, free: 3.262 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002083/0.002142, allocations: 178.7 kB / 0.7308 GB, free: 3.086 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002318/0.002373, allocations: 239.5 kB / 0.731 GB, free: 2.852 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.377e-05/0.002467, allocations: 103.7 kB / 0.7311 GB, free: 2.75 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.738e-05/0.002505, allocations: 29.41 kB / 0.7311 GB, free: 2.723 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 2.774e-05/0.002532, allocations: 32 kB / 0.7312 GB, free: 2.691 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.196e-05/0.002584, allocations: 63.73 kB / 0.7312 GB, free: 2.629 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.019e-05/0.002645, allocations: 63.81 kB / 0.7313 GB, free: 2.566 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001957/0.00284, allocations: 236.7 kB / 0.7315 GB, free: 2.336 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.286e-05/0.002853, allocations: 0 / 0.7315 GB, free: 2.336 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.11e-07/0.002854, allocations: 0 / 0.7315 GB, free: 2.336 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.564e-05/0.002869, allocations: 0 / 0.7315 GB, free: 2.336 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.0004682/0.003337, allocations: 0.5502 MB / 0.7321 GB, free: 1.754 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.924e-05/0.003367, allocations: 9.094 kB / 0.7321 GB, free: 1.746 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.833e-05/0.003425, allocations: 48.91 kB / 0.7321 GB, free: 1.699 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002279/0.003653, allocations: 234.8 kB / 0.7323 GB, free: 1.445 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.705e-05/0.00369, allocations: 37.02 kB / 0.7324 GB, free: 1.41 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.612e-05/0.003716, allocations: 29.22 kB / 0.7324 GB, free: 1.383 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002524/0.003968, allocations: 263.8 kB / 0.7327 GB, free: 1.113 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.00398, allocations: 8.656 kB / 0.7327 GB, free: 1.105 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.003996, allocations: 8.375 kB / 0.7327 GB, free: 1.098 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.004004, allocations: 9.312 kB / 0.7327 GB, free: 1.09 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.004117, allocations: 101.1 kB / 0.7328 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006194/0.004736, allocations: 0.621 MB / 0.7334 GB, free: 352 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.477e-05/0.004811, allocations: 59.41 kB / 0.7334 GB, free: 276 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.794e-05/0.004829, allocations: 17.89 kB / 0.7335 GB, free: 252 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.00485, allocations: 4 kB / 0.7335 GB, free: 248 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.004875, allocations: 30.56 kB / 0.7335 GB, free: 208 kB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 9.32e-07/0.004876, allocations: 0.6562 kB / 0.7335 GB, free: 208 kB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0001324/0.005008, allocations: 66.3 kB / 0.7336 GB, free: 136 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.005042, allocations: 77.11 kB / 0.7336 GB, free: 40 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.005208, allocations: 290.6 kB / 0.7339 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.128e-06/0.005217, allocations: 25.7 kB / 0.7339 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.342e-05/0.0053, allocations: 200.8 kB / 0.7341 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.107e-06/0.005309, allocations: 11.91 kB / 0.7341 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.727e-05/0.005367, allocations: 73.61 kB / 0.7342 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.351e-05/0.00544, allocations: 335.8 kB / 0.7345 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.492e-05/0.005465, allocations: 15.98 kB / 0.7345 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.261e-05/0.005498, allocations: 33.69 kB / 0.7346 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.905e-05/0.005547, allocations: 58.11 kB / 0.7346 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.005549, allocations: 0 / 0.7346 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 8.99e-05/0.005639, allocations: 102.5 kB / 0.7347 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.005651, allocations: 7.281 kB / 0.7347 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.005655, allocations: 0.7812 kB / 0.7347 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.274e-06/0.005662, allocations: 0 / 0.7347 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.018e-05/0.005753, allocations: 32.64 kB / 0.7348 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.915e-06/0.005755, allocations: 3.938 kB / 0.7348 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.061e-05/0.005786, allocations: 21.7 kB / 0.7348 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.005797, allocations: 4 kB / 0.7348 GB, free: 14.8 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 9.086e-05/0.005888, allocations: 127.6 kB / 0.7349 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.526e-05/0.005913, allocations: 11.98 kB / 0.7349 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001039/0.006017, allocations: 94.3 kB / 0.735 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.006018, allocations: 0 / 0.735 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.006022, allocations: 4 kB / 0.735 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.103e-06/0.006024, allocations: 0 / 0.735 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002708/0.006294, allocations: 457.7 kB / 0.7354 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.006297, allocations: 0.9062 kB / 0.7355 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.368e-05/0.006321, allocations: 8.891 kB / 0.7355 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.976e-05/0.00634, allocations: 15.91 kB / 0.7355 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.006343, allocations: 0 / 0.7355 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.998e-06/0.006347, allocations: 1.031 kB / 0.7355 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.006349, allocations: 4 kB / 0.7355 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.006353, allocations: 7.922 kB / 0.7355 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.516e-05/0.006418, allocations: 96.28 kB / 0.7356 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.1e-05/0.006429, allocations: 1.781 kB / 0.7356 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.277e-05/0.006451, allocations: 4 kB / 0.7356 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.514e-05/0.006467, allocations: 15.86 kB / 0.7356 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-06/0.006468, allocations: 0 / 0.7356 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.011e-05/0.006529, allocations: 80 kB / 0.7357 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.006529, allocations: 4 kB / 0.7357 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001283/0.006657, allocations: 55.73 kB / 0.7357 GB, free: 13.76 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.592e-05/0.006723, allocations: 81.16 kB / 0.7358 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.915e-05/0.006812, allocations: 61.41 kB / 0.7359 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.006817, allocations: 4.75 kB / 0.7359 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.175e-05/0.006829, allocations: 14.58 kB / 0.7359 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001138/0.006943, allocations: 32.48 kB / 0.7359 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004439/0.007387, allocations: 471.3 kB / 0.7364 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.465e-05/0.007431, allocations: 88.92 kB / 0.7365 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.507e-05/0.007466, allocations: 17.64 kB / 0.7365 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.826e-05/0.007525, allocations: 67.36 kB / 0.7365 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of SimCode: time 5.31e-07/0.007525, allocations: 5.156 kB / 0.7365 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of Templates: time 0.003201/0.01073, allocations: 1.345 MB / 0.7379 GB, free: 11.59 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.601569652557373]