Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.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.0015/0.0015, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001665/0.001665, allocations: 216.2 kB / 22.24 MB, free: 4.852 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.523/1.523, allocations: 230.6 MB / 256 MB, free: 8.047 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.462/3.462, allocations: 0.5107 GB / 0.8158 GB, free: 17.89 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.Controls.OBC.CDL.Reals.Validation.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|maxVal.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|maxVal.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") [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.002115/0.002115, allocations: 66.09 kB / 1.186 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4628/0.4649, allocations: 181.9 MB / 1.364 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.002309/0.4672, allocations: 0.6516 MB / 1.365 GB, free: 12.96 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001878/0.4674, allocations: 7.984 kB / 1.365 GB, free: 12.95 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.598e-05/0.4675, allocations: 7.938 kB / 1.365 GB, free: 12.95 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000115/0.4676, allocations: 0 / 1.365 GB, free: 12.95 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.999e-05/0.4677, allocations: 7.938 kB / 1.365 GB, free: 12.94 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 8.665e-05/0.4677, allocations: 0 / 1.365 GB, free: 12.94 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.4679, allocations: 31.91 kB / 1.365 GB, free: 12.91 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001724/0.468, allocations: 23.97 kB / 1.365 GB, free: 12.88 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.509e-05/0.4681, allocations: 15.94 kB / 1.365 GB, free: 12.87 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.952e-05/0.4681, allocations: 15.94 kB / 1.365 GB, free: 12.85 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.466e-05/0.4681, allocations: 4 kB / 1.365 GB, free: 12.85 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.279e-05/0.4681, allocations: 0 / 1.365 GB, free: 12.85 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.418e-05/0.4682, allocations: 11.98 kB / 1.365 GB, free: 12.84 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.379e-05/0.4682, allocations: 19.88 kB / 1.365 GB, free: 12.82 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001278/0.4683, allocations: 55.67 kB / 1.365 GB, free: 12.76 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.4684, allocations: 0 / 1.365 GB, free: 12.76 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4684, allocations: 0 / 1.365 GB, free: 12.76 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.289e-05/0.4684, allocations: 0 / 1.365 GB, free: 12.76 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004507/0.4688, allocations: 274.2 kB / 1.365 GB, free: 12.46 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.4689, allocations: 12.03 kB / 1.365 GB, free: 12.45 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.678e-05/0.4689, allocations: 8.891 kB / 1.365 GB, free: 12.44 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001947/0.4691, allocations: 118.5 kB / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.4691, allocations: 4.375 kB / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.4691, allocations: 4.375 kB / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.4693, allocations: 86.03 kB / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.4693, allocations: 192 / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.4694, allocations: 11.94 kB / 1.365 GB, free: 12.19 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.4694, allocations: 0 / 1.365 GB, free: 12.19 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.26e-05/0.4695, allocations: 43.97 kB / 1.365 GB, free: 12.15 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005413/0.47, allocations: 419.2 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.4701, allocations: 165.1 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.03e-05/0.4702, allocations: 92.16 kB / 1.366 GB, free: 11.44 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.678e-05/0.4702, allocations: 79.28 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.912e-05/0.4703, allocations: 105.8 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.4703, allocations: 0 / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 8.858e-05/0.4703, allocations: 33.62 kB / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.217e-05/0.4704, allocations: 134.7 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.4706, allocations: 121.8 kB / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.4706, allocations: 25.7 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.449e-05/0.4707, allocations: 104 kB / 1.366 GB, free: 10.8 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.17e-06/0.4707, allocations: 3.984 kB / 1.366 GB, free: 10.8 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.965e-05/0.4707, allocations: 17.72 kB / 1.366 GB, free: 10.77 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001951/0.4709, allocations: 314.8 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.379e-05/0.4709, allocations: 11.98 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.256e-05/0.471, allocations: 4 kB / 1.367 GB, free: 10.44 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.705e-05/0.471, allocations: 24.95 kB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.471, allocations: 7.875 kB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001312/0.4711, allocations: 49.64 kB / 1.367 GB, free: 10.35 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.4712, allocations: 4 kB / 1.367 GB, free: 10.35 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.4712, allocations: 4 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.4712, allocations: 4.094 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.645e-05/0.4712, allocations: 0 / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.4712, allocations: 320 / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.403e-05/0.4713, allocations: 11.92 kB / 1.367 GB, free: 10.33 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.4713, allocations: 4 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.0001376/0.4714, allocations: 186.2 kB / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.653e-05/0.4715, allocations: 116.9 kB / 1.367 GB, free: 10.01 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.965e-05/0.4716, allocations: 104.5 kB / 1.367 GB, free: 9.895 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.531e-05/0.4717, allocations: 180.3 kB / 1.367 GB, free: 9.711 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.602e-05/0.4718, allocations: 180.2 kB / 1.368 GB, free: 9.527 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.91e-05/0.4718, allocations: 188.2 kB / 1.368 GB, free: 9.336 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002654/0.4721, allocations: 372.8 kB / 1.368 GB, free: 8.934 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.659e-05/0.4722, allocations: 101 kB / 1.368 GB, free: 8.828 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.802e-05/0.4722, allocations: 101 kB / 1.368 GB, free: 8.723 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001077/0.4723, allocations: 185.3 kB / 1.369 GB, free: 8.535 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001006/0.4724, allocations: 180.2 kB / 1.369 GB, free: 8.352 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.36e-05/0.4725, allocations: 180.2 kB / 1.369 GB, free: 8.168 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.23e-05/0.4726, allocations: 184.3 kB / 1.369 GB, free: 7.98 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001666/0.4728, allocations: 307.7 kB / 1.369 GB, free: 7.656 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.152e-05/0.4729, allocations: 116.9 kB / 1.369 GB, free: 7.535 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.654e-05/0.4729, allocations: 180.2 kB / 1.37 GB, free: 7.352 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.959e-05/0.473, allocations: 113.2 kB / 1.37 GB, free: 7.234 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.4732, allocations: 176.3 kB / 1.37 GB, free: 7.055 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.239e-05/0.4732, allocations: 104.9 kB / 1.37 GB, free: 6.945 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.464e-05/0.4733, allocations: 107.2 kB / 1.37 GB, free: 6.84 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4733, allocations: 0 / 1.37 GB, free: 6.84 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002279/0.4735, allocations: 11.94 kB / 1.37 GB, free: 6.828 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0002003/0.4737, allocations: 166.5 kB / 1.37 GB, free: 6.656 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 9.522e-05/0.4738, allocations: 8.031 kB / 1.37 GB, free: 6.648 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4738, allocations: 0 / 1.37 GB, free: 6.648 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 6.983e-06/0.4738, allocations: 16 kB / 1.37 GB, free: 6.633 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005207/0.4743, allocations: 459.6 kB / 1.371 GB, free: 6.18 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003633/0.4747, allocations: 196.2 kB / 1.371 GB, free: 5.961 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.941e-05/0.4748, allocations: 83.31 kB / 1.371 GB, free: 5.859 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.279e-05/0.4748, allocations: 0 / 1.371 GB, free: 5.859 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.359e-05/0.4749, allocations: 11.44 kB / 1.371 GB, free: 5.848 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.4749, allocations: 0 / 1.371 GB, free: 5.848 MB / 1.061 GB Notification: Performance of Templates: time 0.002907/0.4778, allocations: 323.6 kB / 1.371 GB, free: 5.543 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.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.848929332569242]