Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.SetPoints.Examples.Table.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.001418/0.001418, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001608/0.001608, allocations: 211.6 kB / 22.99 MB, free: 4.957 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.633/1.633, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.358/3.358, allocations: 0.49 GB / 0.7959 GB, free: 35.6 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Controls.SetPoints.Examples.Table,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tabLinExt.y|tabConExt.y",fileNamePrefix="Buildings_12_Buildings.Controls.SetPoints.Examples.Table") translateModel(Buildings.Controls.SetPoints.Examples.Table,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tabLinExt.y|tabConExt.y",fileNamePrefix="Buildings_12_Buildings.Controls.SetPoints.Examples.Table") [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.001975/0.001975, allocations: 65.7 kB / 1.155 GB, free: 25.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4481/0.4501, allocations: 176.1 MB / 1.327 GB, free: 1.023 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.004186/0.4543, allocations: 1.667 MB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001601/0.4559, allocations: 0.6471 MB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.456, allocations: 3.938 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000648/0.4566, allocations: 193 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005762/0.4572, allocations: 204.7 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005752/0.4578, allocations: 201.3 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003043/0.4581, allocations: 219.5 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.4582, allocations: 25.73 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001394/0.4584, allocations: 91.61 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002383/0.4586, allocations: 171.6 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.087e-05/0.4586, allocations: 15.94 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001292/0.4588, allocations: 47.98 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.4589, allocations: 79.73 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.864e-05/0.459, allocations: 79.34 kB / 1.331 GB, free: 13.4 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00041/0.4594, allocations: 278.8 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.4594, allocations: 0 / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.024e-06/0.4594, allocations: 0 / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.4594, allocations: 0 / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001175/0.4606, allocations: 0.5431 MB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.4606, allocations: 8.031 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.041e-05/0.4607, allocations: 32.75 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005426/0.4612, allocations: 312.8 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.4612, allocations: 8.375 kB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.4612, allocations: 384 / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002272/0.4615, allocations: 81.72 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.4615, allocations: 3.938 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.4615, allocations: 0 / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.4615, allocations: 4 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002003/0.4617, allocations: 55.94 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005653/0.4623, allocations: 360.2 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001734/0.4624, allocations: 46.56 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.308e-05/0.4625, allocations: 28.89 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.4626, allocations: 0 / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001203/0.4627, allocations: 34.56 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.4627, allocations: 0 / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0004334/0.4631, allocations: 121.5 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.4632, allocations: 51.41 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006394/0.4638, allocations: 0.5289 MB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.4638, allocations: 25.7 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/0.4639, allocations: 172 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.296e-05/0.464, allocations: 15.84 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.117e-05/0.464, allocations: 17.72 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001732/0.4642, allocations: 350.7 kB / 1.334 GB, free: 10.19 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.118e-05/0.4643, allocations: 19.98 kB / 1.334 GB, free: 10.17 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.537e-05/0.4644, allocations: 15.98 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.4645, allocations: 44.83 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.4645, allocations: 0 / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002474/0.4648, allocations: 105.4 kB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.4648, allocations: 8 kB / 1.334 GB, free: 9.992 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.4648, allocations: 7.938 kB / 1.334 GB, free: 9.984 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.4648, allocations: 0 / 1.334 GB, free: 9.984 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.563e-05/0.4649, allocations: 11.98 kB / 1.334 GB, free: 9.973 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.4649, allocations: 0 / 1.334 GB, free: 9.973 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.865e-05/0.465, allocations: 8.312 kB / 1.334 GB, free: 9.965 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.465, allocations: 0 / 1.334 GB, free: 9.965 MB / 1.029 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 (3): * Single equations (assignments): 3 * 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.0002105/0.4652, allocations: 173.8 kB / 1.334 GB, free: 9.785 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.827e-05/0.4653, allocations: 35.77 kB / 1.334 GB, free: 9.75 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004357/0.4657, allocations: 120.2 kB / 1.334 GB, free: 9.625 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.4657, allocations: 0 / 1.334 GB, free: 9.625 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.4657, allocations: 0 / 1.334 GB, free: 9.625 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.4657, allocations: 0 / 1.334 GB, free: 9.625 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002817/0.466, allocations: 197.2 kB / 1.334 GB, free: 9.402 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.466, allocations: 0 / 1.334 GB, free: 9.402 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.015e-05/0.4661, allocations: 19.92 kB / 1.334 GB, free: 9.383 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.4661, allocations: 0 / 1.334 GB, free: 9.383 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.749e-06/0.4661, allocations: 8 kB / 1.334 GB, free: 9.375 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.4661, allocations: 0 / 1.334 GB, free: 9.375 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4661, allocations: 0 / 1.334 GB, free: 9.375 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003129/0.4664, allocations: 203.3 kB / 1.334 GB, free: 9.16 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.492e-05/0.4665, allocations: 35.81 kB / 1.335 GB, free: 9.125 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.05e-05/0.4665, allocations: 4 kB / 1.335 GB, free: 9.121 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.4666, allocations: 7.984 kB / 1.335 GB, free: 9.113 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.724e-05/0.4667, allocations: 3.938 kB / 1.335 GB, free: 9.109 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.4667, allocations: 0 / 1.335 GB, free: 9.109 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004606/0.4671, allocations: 407.1 kB / 1.335 GB, free: 8.715 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4671, allocations: 0 / 1.335 GB, free: 8.715 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002677/0.4674, allocations: 31.89 kB / 1.335 GB, free: 8.684 MB / 1.029 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 (3): * Single equations (assignments): 3 * 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.001424/0.4688, allocations: 378.2 kB / 1.335 GB, free: 8.457 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002653/0.4691, allocations: 43.89 kB / 1.335 GB, free: 8.414 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4691, allocations: 0 / 1.335 GB, free: 8.414 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.4692, allocations: 19.98 kB / 1.335 GB, free: 8.395 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004883/0.4697, allocations: 54.23 kB / 1.335 GB, free: 8.348 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008773/0.4706, allocations: 496.7 kB / 1.336 GB, free: 7.836 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.4709, allocations: 169.8 kB / 1.336 GB, free: 7.652 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.385e-05/0.4709, allocations: 42.09 kB / 1.336 GB, free: 7.613 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.247e-05/0.471, allocations: 27.42 kB / 1.336 GB, free: 7.586 MB / 1.029 GB Notification: Performance of SimCode: time 8.11e-07/0.471, allocations: 0 / 1.336 GB, free: 7.586 MB / 1.029 GB Notification: Performance of Templates: time 0.007193/0.4782, allocations: 2.674 MB / 1.339 GB, free: 4.934 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.SetPoints.Examples.Table.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.SetPoints.Examples.Table.pipe ; mkfifo Buildings_12_Buildings.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.SetPoints.Examples.Table.pipe >> ../files/Buildings_12_Buildings.Controls.SetPoints.Examples.Table.sim & ./Buildings_12_Buildings.Controls.SetPoints.Examples.Table -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.SetPoints.Examples.Table.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.SetPoints.Examples.Table_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_SetPoints_Examples_Table.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.SetPoints.Examples.Table.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.661815358995227]