Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00107/0.00107, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001518/0.002588, allocations: 440 kB / 10.41 MB, free: 284 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.00105/0.00105, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001386/0.002436, allocations: 475.6 kB / 11.8 MB, free: 2.375 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.9874/0.9874, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1207/1.108, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.583/2.583, allocations: 447.1 MB / 0.675 GB, free: 5.902 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2468/2.83, allocations: 146 MB / 0.8176 GB, free: 3.82 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 0.8189 GB, free: 2.508 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.623e-05/2.84e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.504 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.002691/0.00272, allocations: 1.071 MB / 0.82 GB, free: 1.426 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0003354/0.003055, allocations: 167.3 kB / 0.8201 GB, free: 1.262 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.991e-05/0.003155, allocations: 11.94 kB / 0.8201 GB, free: 1.25 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0001064/0.003262, allocations: 35.72 kB / 0.8202 GB, free: 1.215 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.003364, allocations: 15.8 kB / 0.8202 GB, free: 1.199 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001438/0.003508, allocations: 75.86 kB / 0.8203 GB, free: 1.125 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0003634/0.003871, allocations: 339.3 kB / 0.8206 GB, free: 0.793 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004179/0.004289, allocations: 293.5 kB / 0.8209 GB, free: 0.4922 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004145/0.004704, allocations: 331.4 kB / 0.8212 GB, free: 172 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002159/0.00492, allocations: 159.5 kB / 0.8213 GB, free: 12 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 9.931e-05/0.005019, allocations: 52.05 kB / 0.8214 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 6.914e-05/0.005088, allocations: 48 kB / 0.8214 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.005195, allocations: 103.6 kB / 0.8215 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.005313, allocations: 103.8 kB / 0.8216 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004148/0.005728, allocations: 354.5 kB / 0.822 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.404e-05/0.005742, allocations: 0 / 0.822 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.81e-07/0.005742, allocations: 0 / 0.822 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.019e-05/0.005763, allocations: 0 / 0.822 GB, free: 15.36 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.000894/0.006657, allocations: 0.6789 MB / 0.8226 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.006691, allocations: 11.97 kB / 0.8226 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001366/0.006828, allocations: 76.88 kB / 0.8227 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003885/0.007217, allocations: 254.1 kB / 0.8229 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.373e-05/0.00728, allocations: 53.36 kB / 0.823 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.396e-05/0.007354, allocations: 44.38 kB / 0.823 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005756/0.00793, allocations: 386 kB / 0.8234 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.007945, allocations: 192 / 0.8234 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.647e-05/0.007981, allocations: 16.38 kB / 0.8234 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.656e-05/0.007998, allocations: 12.38 kB / 0.8234 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002768/0.008275, allocations: 156.5 kB / 0.8236 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001369/0.009644, allocations: 0.8518 MB / 0.8244 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003215/0.009965, allocations: 101.2 kB / 0.8245 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001191/0.01116, allocations: 37.7 kB / 0.8245 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.428e-05/0.0112, allocations: 4 kB / 0.8245 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/0.01125, allocations: 38.56 kB / 0.8246 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=20): time 2.655e-06/0.01125, allocations: 0 / 0.8246 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of matching and sorting (n=20): time 0.000393/0.01164, allocations: 129.7 kB / 0.8247 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.337e-05/0.0117, allocations: 77.11 kB / 0.8248 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003777/0.01207, allocations: 300.5 kB / 0.8251 GB, free: 12 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.0121, allocations: 29.7 kB / 0.8251 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/0.01226, allocations: 232.9 kB / 0.8253 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.807e-05/0.01233, allocations: 55.53 kB / 0.8254 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001616/0.01249, allocations: 101.5 kB / 0.8255 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.01266, allocations: 338.8 kB / 0.8258 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.179e-05/0.01273, allocations: 27.98 kB / 0.8258 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.102e-05/0.01282, allocations: 53.61 kB / 0.8259 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.01299, allocations: 96.23 kB / 0.826 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.01299, allocations: 0 / 0.826 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002953/0.01328, allocations: 139.2 kB / 0.8261 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.01331, allocations: 13.56 kB / 0.8261 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.01332, allocations: 4 kB / 0.8261 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.01334, allocations: 0 / 0.8261 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000257/0.01359, allocations: 63.91 kB / 0.8262 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.0136, allocations: 11.88 kB / 0.8262 GB, free: 10.81 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.955e-05/0.01368, allocations: 23.78 kB / 0.8262 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.574e-05/0.01371, allocations: 11.98 kB / 0.8262 GB, free: 10.78 MB / 0.8073 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 (32): * Single equations (assignments): 32 * 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.000192/0.0139, allocations: 134.6 kB / 0.8263 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.09e-05/0.01397, allocations: 23.98 kB / 0.8264 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002675/0.01424, allocations: 127.3 kB / 0.8265 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-06/0.01425, allocations: 4 kB / 0.8265 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.01425, allocations: 3.984 kB / 0.8265 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.01426, allocations: 3.938 kB / 0.8265 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/0.01538, allocations: 0.7164 MB / 0.8272 GB, free: 9.668 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.241e-06/0.01538, allocations: 4 kB / 0.8272 GB, free: 9.664 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.01554, allocations: 43.91 kB / 0.8272 GB, free: 9.621 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.101e-05/0.0156, allocations: 35.78 kB / 0.8273 GB, free: 9.586 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.338e-06/0.01561, allocations: 4.625 kB / 0.8273 GB, free: 9.582 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.121e-05/0.01563, allocations: 15.94 kB / 0.8273 GB, free: 9.566 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.425e-06/0.01563, allocations: 11.94 kB / 0.8273 GB, free: 9.555 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.01564, allocations: 7.938 kB / 0.8273 GB, free: 9.547 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002973/0.01594, allocations: 260.2 kB / 0.8276 GB, free: 9.219 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.018e-05/0.01597, allocations: 7.984 kB / 0.8276 GB, free: 9.211 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.522e-05/0.01606, allocations: 12 kB / 0.8276 GB, free: 9.199 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.2e-05/0.01614, allocations: 31.84 kB / 0.8276 GB, free: 9.168 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.467e-05/0.01616, allocations: 23.97 kB / 0.8276 GB, free: 9.145 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001014/0.01626, allocations: 82.72 kB / 0.8277 GB, free: 9.062 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.01626, allocations: 0 / 0.8277 GB, free: 9.062 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003537/0.01662, allocations: 87.56 kB / 0.8278 GB, free: 8.977 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 6 (couTru.y,couTru.intEqu.y,couTru.mulMin.y,couTruAllFal.y,couTruAllFal.intEqu.y,couTruAllFal.mulMin.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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 0.0002086/0.01682, allocations: 97.55 kB / 0.8279 GB, free: 8.875 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002448/0.01707, allocations: 117.1 kB / 0.828 GB, free: 8.758 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-05/0.01708, allocations: 4 kB / 0.828 GB, free: 8.754 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.01722, allocations: 92.55 kB / 0.8281 GB, free: 8.66 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004372/0.01766, allocations: 186.5 kB / 0.8283 GB, free: 8.457 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/0.01894, allocations: 0.7416 MB / 0.829 GB, free: 7.625 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.981e-05/0.01904, allocations: 108.3 kB / 0.8291 GB, free: 7.5 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 9.076e-05/0.01913, allocations: 30.28 kB / 0.8291 GB, free: 7.473 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.01926, allocations: 79.36 kB / 0.8292 GB, free: 7.395 MB / 0.8073 GB Notification: Performance of SimCode: time 6.31e-07/0.01926, allocations: 0 / 0.8292 GB, free: 7.395 MB / 0.8073 GB Notification: Performance of Templates: time 0.006303/0.02556, allocations: 2.124 MB / 0.8313 GB, free: 5.305 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue/Buildings_latest_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: 5.554095050320029]