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.001454/0.001454, 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.001876/0.001876, allocations: 215.5 kB / 22.25 MB, free: 4.855 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.566/1.566, allocations: 230.6 MB / 256 MB, free: 7.797 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.618/3.618, allocations: 0.4892 GB / 0.7943 GB, free: 35.67 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.002111/0.002111, allocations: 70.34 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4535/0.4556, allocations: 176.1 MB / 1.325 GB, free: 1.863 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.003804/0.4594, allocations: 1.679 MB / 1.327 GB, free: 184 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001434/0.4609, allocations: 0.6393 MB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.461, allocations: 0 / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007319/0.4617, allocations: 191.5 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0006337/0.4624, allocations: 199.2 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005757/0.4629, allocations: 202.3 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003387/0.4633, allocations: 215.4 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.4634, allocations: 25.73 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.4636, allocations: 83.72 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002806/0.4638, allocations: 179.4 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.753e-05/0.4639, allocations: 12 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.464, allocations: 47.98 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.4641, allocations: 75.75 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001059/0.4642, allocations: 79.39 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004082/0.4646, allocations: 282.6 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.4646, allocations: 0 / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.404e-06/0.4646, allocations: 0 / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.4647, allocations: 0 / 1.329 GB, free: 13.98 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.0009726/0.4656, allocations: 0.5354 MB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.4657, allocations: 8.031 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.697e-05/0.4658, allocations: 36.73 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005706/0.4663, allocations: 320.7 kB / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.4663, allocations: 8.375 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.613e-05/0.4664, allocations: 384 / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002171/0.4666, allocations: 81.72 kB / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.4666, allocations: 0 / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.4666, allocations: 3.938 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.4666, allocations: 0 / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001995/0.4668, allocations: 55.89 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000581/0.4674, allocations: 360.3 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/0.4676, allocations: 54.58 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.927e-05/0.4677, allocations: 20.91 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.4677, allocations: 4 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.4677, allocations: 34.56 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.4677, allocations: 4 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0004142/0.4681, allocations: 121.4 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.535e-05/0.4682, allocations: 55.34 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006916/0.4689, allocations: 0.525 MB / 1.331 GB, free: 11.63 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.4689, allocations: 29.7 kB / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001612/0.469, allocations: 168.1 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.152e-05/0.4691, allocations: 15.83 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.781e-05/0.4691, allocations: 17.72 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002154/0.4693, allocations: 350.8 kB / 1.332 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.142e-05/0.4694, allocations: 19.97 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.859e-05/0.4695, allocations: 15.98 kB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001643/0.4697, allocations: 48.81 kB / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.4697, allocations: 0 / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002428/0.4699, allocations: 101.4 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.4699, allocations: 12 kB / 1.332 GB, free: 10.83 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/0.4699, allocations: 0 / 1.332 GB, free: 10.83 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.47, allocations: 0 / 1.332 GB, free: 10.83 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.4701, allocations: 11.98 kB / 1.332 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.4701, allocations: 0 / 1.332 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.675e-05/0.4702, allocations: 4 kB / 1.332 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.4702, allocations: 0 / 1.332 GB, free: 10.82 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.0001705/0.4703, allocations: 173.7 kB / 1.332 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.068e-05/0.4704, allocations: 35.77 kB / 1.332 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002963/0.4707, allocations: 108.6 kB / 1.332 GB, free: 10.49 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.4707, allocations: 12.02 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.4707, allocations: 0 / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.4707, allocations: 7.875 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002529/0.471, allocations: 201.1 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.471, allocations: 0 / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.215e-05/0.471, allocations: 11.98 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.471, allocations: 0 / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.471, allocations: 4 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.471, allocations: 8 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.471, allocations: 0 / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003074/0.4713, allocations: 199.3 kB / 1.333 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.554e-05/0.4714, allocations: 39.8 kB / 1.333 GB, free: 9.969 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.196e-05/0.4715, allocations: 4 kB / 1.333 GB, free: 9.965 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.968e-05/0.4716, allocations: 0 / 1.333 GB, free: 9.965 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/0.4716, allocations: 7.984 kB / 1.333 GB, free: 9.957 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-06/0.4716, allocations: 0 / 1.333 GB, free: 9.957 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004706/0.4721, allocations: 399.1 kB / 1.333 GB, free: 9.57 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.4721, allocations: 4 kB / 1.333 GB, free: 9.566 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002691/0.4723, allocations: 39.81 kB / 1.333 GB, free: 9.527 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.001432/0.4738, allocations: 368.4 kB / 1.334 GB, free: 9.312 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002321/0.474, allocations: 47.89 kB / 1.334 GB, free: 9.266 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.474, allocations: 0 / 1.334 GB, free: 9.266 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.137e-05/0.4741, allocations: 23.97 kB / 1.334 GB, free: 9.242 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004655/0.4746, allocations: 42.09 kB / 1.334 GB, free: 9.203 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008516/0.4754, allocations: 496.5 kB / 1.334 GB, free: 8.691 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001986/0.4756, allocations: 173.8 kB / 1.334 GB, free: 8.504 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.915e-05/0.4757, allocations: 37.92 kB / 1.335 GB, free: 8.469 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.793e-05/0.4758, allocations: 23.44 kB / 1.335 GB, free: 8.445 MB / 1.029 GB Notification: Performance of SimCode: time 3.91e-07/0.4758, allocations: 0 / 1.335 GB, free: 8.445 MB / 1.029 GB Notification: Performance of Templates: time 0.007104/0.4829, allocations: 2.667 MB / 1.337 GB, free: 5.805 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 -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/jenkins/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.985787149518728]