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.001904/0.001904, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002448/0.002448, allocations: 214.4 kB / 22.24 MB, free: 5.262 MB / 14.72 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 1.573/1.573, allocations: 230.6 MB / 256 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.498/3.498, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00208/0.00208, allocations: 68.12 kB / 1.186 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3991/0.4011, allocations: 181.9 MB / 1.364 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.002362/0.4035, allocations: 0.836 MB / 1.365 GB, free: 12.72 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0003486/0.4038, allocations: 95.7 kB / 1.365 GB, free: 12.63 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.404, allocations: 4 kB / 1.365 GB, free: 12.62 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001494/0.4041, allocations: 27.72 kB / 1.365 GB, free: 12.6 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000153/0.4043, allocations: 19.86 kB / 1.365 GB, free: 12.58 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 9.997e-05/0.4044, allocations: 39.95 kB / 1.365 GB, free: 12.54 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000329/0.4047, allocations: 251.5 kB / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003418/0.405, allocations: 166.8 kB / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001735/0.4052, allocations: 143.4 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002182/0.4054, allocations: 139.3 kB / 1.365 GB, free: 11.85 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.857e-05/0.4055, allocations: 39.94 kB / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.827e-05/0.4056, allocations: 32 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.972e-05/0.4057, allocations: 83.77 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001282/0.4058, allocations: 123.3 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004985/0.4063, allocations: 474 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.4063, allocations: 4 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4063, allocations: 3.938 kB / 1.366 GB, free: 11.1 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.941e-05/0.4063, allocations: 0 / 1.366 GB, free: 11.1 MB / 1.061 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.000825/0.4071, allocations: 0.5208 MB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.4072, allocations: 8.031 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.551e-05/0.4073, allocations: 40.7 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005124/0.4078, allocations: 274.5 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.705e-05/0.4079, allocations: 33.03 kB / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.867e-05/0.4079, allocations: 28.38 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006728/0.4086, allocations: 408 kB / 1.367 GB, free: 9.734 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.4086, allocations: 192 / 1.367 GB, free: 9.734 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.474e-05/0.4086, allocations: 19.92 kB / 1.368 GB, free: 9.715 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.4086, allocations: 8 kB / 1.368 GB, free: 9.707 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005179/0.4092, allocations: 299.8 kB / 1.368 GB, free: 9.414 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001454/0.4106, allocations: 0.8374 MB / 1.369 GB, free: 8.539 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001759/0.4108, allocations: 89.16 kB / 1.369 GB, free: 8.434 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.052e-05/0.4109, allocations: 41.8 kB / 1.369 GB, free: 8.387 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.4109, allocations: 8 kB / 1.369 GB, free: 8.379 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.4109, allocations: 42.48 kB / 1.369 GB, free: 8.328 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.4109, allocations: 0 / 1.369 GB, free: 8.328 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.000359/0.4113, allocations: 153.4 kB / 1.369 GB, free: 8.172 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.465e-05/0.4113, allocations: 81.11 kB / 1.369 GB, free: 8.074 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003977/0.4117, allocations: 349.5 kB / 1.369 GB, free: 7.727 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.4117, allocations: 29.7 kB / 1.369 GB, free: 7.691 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.4119, allocations: 200.5 kB / 1.37 GB, free: 7.488 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/0.4119, allocations: 19.88 kB / 1.37 GB, free: 7.469 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.412, allocations: 73.69 kB / 1.37 GB, free: 7.391 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.4122, allocations: 334.8 kB / 1.37 GB, free: 7.055 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.4123, allocations: 67.95 kB / 1.37 GB, free: 6.988 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.4124, allocations: 88.91 kB / 1.37 GB, free: 6.898 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001788/0.4126, allocations: 121.5 kB / 1.37 GB, free: 6.773 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.4126, allocations: 0 / 1.37 GB, free: 6.773 MB / 1.061 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003213/0.4129, allocations: 197.4 kB / 1.37 GB, free: 6.574 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.4129, allocations: 8 kB / 1.37 GB, free: 6.566 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.4129, allocations: 0 / 1.37 GB, free: 6.566 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.413, allocations: 0 / 1.37 GB, free: 6.566 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.4131, allocations: 31.98 kB / 1.37 GB, free: 6.535 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.4131, allocations: 3.938 kB / 1.37 GB, free: 6.531 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.112e-05/0.4132, allocations: 19.83 kB / 1.37 GB, free: 6.512 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.846e-05/0.4132, allocations: 11.98 kB / 1.371 GB, free: 6.5 MB / 1.061 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 (couTru.booToInt[1].y,couTru.booToInt[2].y,couTru.booToInt[3].y,couTru.booToInt[4].y,couTru.booToInt[5].y,couTru.booToInt[6].y,couTru.intEqu.y,couTru.mulMin.y,couTru.y,couTruAllFal.booToInt[1].y,couTruAllFal.booToInt[2].y,couTruAllFal.booToInt[3].y,couTruAllFal.booToInt[4].y,couTruAllFal.booToInt[5].y,couTruAllFal.booToInt[6].y,couTruAllFal.intEqu.y,couTruAllFal.mulMin.y,couTruAllFal.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.0002216/0.4134, allocations: 203.5 kB / 1.371 GB, free: 6.293 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.879e-05/0.4135, allocations: 19.86 kB / 1.371 GB, free: 6.273 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002145/0.4137, allocations: 108.6 kB / 1.371 GB, free: 6.152 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.4137, allocations: 0 / 1.371 GB, free: 6.152 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.4137, allocations: 3.938 kB / 1.371 GB, free: 6.148 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.4137, allocations: 8.047 kB / 1.371 GB, free: 6.141 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005577/0.4143, allocations: 0.5549 MB / 1.371 GB, free: 5.535 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.4143, allocations: 0 / 1.371 GB, free: 5.535 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.485e-05/0.4143, allocations: 8.312 kB / 1.371 GB, free: 5.527 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.143e-06/0.4143, allocations: 7.938 kB / 1.371 GB, free: 5.52 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.4143, allocations: 4 kB / 1.371 GB, free: 5.516 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.4143, allocations: 0 / 1.371 GB, free: 5.516 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.4143, allocations: 4 kB / 1.371 GB, free: 5.512 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001603/0.4145, allocations: 123.6 kB / 1.372 GB, free: 5.363 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.787e-05/0.4145, allocations: 27.83 kB / 1.372 GB, free: 5.336 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.247e-05/0.4146, allocations: 3.953 kB / 1.372 GB, free: 5.332 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.84e-05/0.4146, allocations: 4 kB / 1.372 GB, free: 5.328 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.681e-05/0.4146, allocations: 4 kB / 1.372 GB, free: 5.324 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.4146, allocations: 0 / 1.372 GB, free: 5.324 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002617/0.4149, allocations: 241.2 kB / 1.372 GB, free: 5.086 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4149, allocations: 0 / 1.372 GB, free: 5.086 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002666/0.4152, allocations: 51.78 kB / 1.372 GB, free: 5.035 MB / 1.061 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 0.000129/0.4153, allocations: 109.9 kB / 1.372 GB, free: 4.922 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002423/0.4155, allocations: 95.83 kB / 1.372 GB, free: 4.828 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.4155, allocations: 0 / 1.372 GB, free: 4.828 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.992e-05/0.4156, allocations: 15.98 kB / 1.372 GB, free: 4.812 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.4158, allocations: 24.38 kB / 1.372 GB, free: 4.789 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007951/0.4166, allocations: 489.8 kB / 1.373 GB, free: 4.277 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/0.4168, allocations: 187.3 kB / 1.373 GB, free: 4.074 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001034/0.4169, allocations: 41.59 kB / 1.373 GB, free: 4.035 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.367e-05/0.417, allocations: 19.44 kB / 1.373 GB, free: 4.016 MB / 1.061 GB Notification: Performance of SimCode: time 7.91e-07/0.417, allocations: 4 kB / 1.373 GB, free: 4.012 MB / 1.061 GB Notification: Performance of Templates: time 0.004668/0.4217, allocations: 1.339 MB / 1.374 GB, free: 2.699 MB / 1.061 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.428459394723177]