Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.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.001843/0.001843, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.00158/0.00158, allocations: 214 kB / 22.25 MB, free: 5.258 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.565/1.565, allocations: 230.6 MB / 256 MB, free: 7.781 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.603/3.603, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 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.Integers.Validation.Equal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intEqu.u1|intEqu.u2|intEqu.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intEqu.u1|intEqu.u2|intEqu.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") [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.002111/0.002111, allocations: 72.2 kB / 1.186 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4394/0.4415, allocations: 181.8 MB / 1.364 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003786/0.4453, allocations: 1.983 MB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002432/0.4477, allocations: 1.28 MB / 1.367 GB, free: 10.31 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000118/0.4478, allocations: 3.938 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004768/0.4483, allocations: 163.4 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004896/0.4488, allocations: 203.2 kB / 1.367 GB, free: 9.945 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003677/0.4491, allocations: 175.4 kB / 1.368 GB, free: 9.773 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004282/0.4496, allocations: 339.1 kB / 1.368 GB, free: 9.441 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000165/0.4497, allocations: 32.86 kB / 1.368 GB, free: 9.402 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000221/0.45, allocations: 151.4 kB / 1.368 GB, free: 9.254 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002445/0.4502, allocations: 163.3 kB / 1.368 GB, free: 9.094 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.098e-05/0.4502, allocations: 16 kB / 1.368 GB, free: 9.078 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001565/0.4504, allocations: 55.97 kB / 1.368 GB, free: 9.023 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001394/0.4505, allocations: 99.61 kB / 1.368 GB, free: 8.926 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001218/0.4507, allocations: 95.33 kB / 1.368 GB, free: 8.832 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004925/0.4512, allocations: 386.3 kB / 1.369 GB, free: 8.453 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.4512, allocations: 0 / 1.369 GB, free: 8.453 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4512, allocations: 4 kB / 1.369 GB, free: 8.449 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.246e-06/0.4512, allocations: 0 / 1.369 GB, free: 8.449 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001151/0.4523, allocations: 0.5741 MB / 1.369 GB, free: 7.844 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.4524, allocations: 12.03 kB / 1.369 GB, free: 7.832 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.923e-05/0.4525, allocations: 40.69 kB / 1.369 GB, free: 7.793 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005968/0.4531, allocations: 316.5 kB / 1.37 GB, free: 7.465 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.4531, allocations: 4 kB / 1.37 GB, free: 7.461 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.403e-05/0.4531, allocations: 12 kB / 1.37 GB, free: 7.449 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000286/0.4534, allocations: 117.5 kB / 1.37 GB, free: 7.328 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.4534, allocations: 4 kB / 1.37 GB, free: 7.324 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.4534, allocations: 0 / 1.37 GB, free: 7.324 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.4534, allocations: 4 kB / 1.37 GB, free: 7.32 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001829/0.4536, allocations: 63.95 kB / 1.37 GB, free: 7.258 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008546/0.4545, allocations: 416.2 kB / 1.37 GB, free: 6.82 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003582/0.4548, allocations: 142.6 kB / 1.37 GB, free: 6.672 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.4549, allocations: 52.83 kB / 1.371 GB, free: 6.617 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.455, allocations: 4 kB / 1.371 GB, free: 6.613 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002705/0.4552, allocations: 119.2 kB / 1.371 GB, free: 6.484 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 3.677e-06/0.4552, allocations: 3.984 kB / 1.371 GB, free: 6.48 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0005859/0.4558, allocations: 235.4 kB / 1.371 GB, free: 6.246 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/0.4559, allocations: 55.41 kB / 1.371 GB, free: 6.18 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006723/0.4566, allocations: 0.5327 MB / 1.371 GB, free: 5.637 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.354e-05/0.4566, allocations: 33.7 kB / 1.371 GB, free: 5.598 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001605/0.4567, allocations: 168.5 kB / 1.372 GB, free: 5.43 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.908e-05/0.4568, allocations: 39.7 kB / 1.372 GB, free: 5.391 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.4569, allocations: 73.95 kB / 1.372 GB, free: 5.309 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000188/0.4571, allocations: 342.8 kB / 1.372 GB, free: 4.965 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001974/0.4573, allocations: 108.5 kB / 1.372 GB, free: 4.859 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002304/0.4575, allocations: 143.5 kB / 1.372 GB, free: 4.711 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003906/0.4579, allocations: 187 kB / 1.372 GB, free: 4.52 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4579, allocations: 0 / 1.372 GB, free: 4.52 MB / 1.061 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005778/0.4585, allocations: 337.3 kB / 1.373 GB, free: 4.184 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.4585, allocations: 8 kB / 1.373 GB, free: 4.176 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.4585, allocations: 0 / 1.373 GB, free: 4.176 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/0.4585, allocations: 3.938 kB / 1.373 GB, free: 4.172 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/0.4588, allocations: 51.91 kB / 1.373 GB, free: 4.121 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.4588, allocations: 4 kB / 1.373 GB, free: 4.117 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.4589, allocations: 11.95 kB / 1.373 GB, free: 4.105 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.632e-05/0.4589, allocations: 15.98 kB / 1.373 GB, free: 4.09 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt1.y,reaToInt.y,intEqu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0002026/0.4591, allocations: 190.8 kB / 1.373 GB, free: 3.895 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.826e-05/0.4592, allocations: 31.77 kB / 1.373 GB, free: 3.863 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00044/0.4596, allocations: 212.7 kB / 1.373 GB, free: 3.652 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.4596, allocations: 0 / 1.373 GB, free: 3.652 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.4596, allocations: 0 / 1.373 GB, free: 3.652 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/0.4596, allocations: 7.984 kB / 1.373 GB, free: 3.645 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002677/0.4599, allocations: 233.1 kB / 1.374 GB, free: 3.387 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.4599, allocations: 0 / 1.374 GB, free: 3.387 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.61e-05/0.46, allocations: 15.98 kB / 1.374 GB, free: 3.371 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.46, allocations: 4 kB / 1.374 GB, free: 3.367 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.46, allocations: 8 kB / 1.374 GB, free: 3.359 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.46, allocations: 3.938 kB / 1.374 GB, free: 3.355 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.46, allocations: 0 / 1.374 GB, free: 3.355 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004171/0.4604, allocations: 231.2 kB / 1.374 GB, free: 3.113 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.498e-05/0.4605, allocations: 43.75 kB / 1.374 GB, free: 3.07 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.347e-05/0.4606, allocations: 3.938 kB / 1.374 GB, free: 3.066 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.843e-05/0.4607, allocations: 15.92 kB / 1.374 GB, free: 3.051 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.244e-05/0.4607, allocations: 19.97 kB / 1.374 GB, free: 3.031 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.4608, allocations: 4 kB / 1.374 GB, free: 3.027 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000393/0.4612, allocations: 331.1 kB / 1.374 GB, free: 2.703 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.4612, allocations: 3.938 kB / 1.374 GB, free: 2.699 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003167/0.4615, allocations: 63.92 kB / 1.374 GB, free: 2.637 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: 9 ($whenCondition2,$whenCondition1,intEqu.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0018/0.4633, allocations: 438.4 kB / 1.375 GB, free: 2.383 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004702/0.4637, allocations: 193.6 kB / 1.375 GB, free: 2.195 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.4637, allocations: 0 / 1.375 GB, free: 2.195 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001654/0.4639, allocations: 67.89 kB / 1.375 GB, free: 2.129 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004982/0.4644, allocations: 107.8 kB / 1.375 GB, free: 2.035 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.4655, allocations: 0.5586 MB / 1.376 GB, free: 1.449 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002348/0.4657, allocations: 187.8 kB / 1.376 GB, free: 1.246 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000176/0.4659, allocations: 54.94 kB / 1.376 GB, free: 1.195 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.466, allocations: 35.42 kB / 1.376 GB, free: 1.16 MB / 1.061 GB Notification: Performance of SimCode: time 1.132e-06/0.466, allocations: 4 kB / 1.376 GB, free: 1.156 MB / 1.061 GB Notification: Performance of Templates: time 0.01041/0.4764, allocations: 4.729 MB / 1.38 GB, free: 12.48 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.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: 10.02921525388956]