Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.SetPoints.Examples.Table.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.Table,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tabLinExt.y|tabConExt.y",fileNamePrefix="Buildings_9_Buildings.Controls.SetPoints.Examples.Table") translateModel(Buildings.Controls.SetPoints.Examples.Table,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tabLinExt.y|tabConExt.y",fileNamePrefix="Buildings_9_Buildings.Controls.SetPoints.Examples.Table") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007383/0.007383, allocations: 104.5 kB / 15.74 MB, free: 6.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 190.2 kB / 16.67 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.532/1.532, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.776/2.776, allocations: 390.2 MB / 0.6648 GB, free: 152 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002625/0.002625, allocations: 62.31 kB / 0.9508 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4505/0.4531, allocations: 140.4 MB / 1.088 GB, free: 1.523 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.003301/0.4565, allocations: 1.653 MB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001049/0.4575, allocations: 0.52 MB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.412e-05/0.4577, allocations: 7.938 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006712/0.4583, allocations: 178.3 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004448/0.4588, allocations: 167.8 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000485/0.4593, allocations: 191.7 kB / 1.091 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002796/0.4596, allocations: 203.5 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.4597, allocations: 49.44 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.4598, allocations: 83.67 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002075/0.4601, allocations: 155.6 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.29e-05/0.4601, allocations: 12 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.527e-05/0.4602, allocations: 44 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.4603, allocations: 79.75 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.4604, allocations: 95.28 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003474/0.4608, allocations: 263 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.4608, allocations: 0 / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.114e-06/0.4608, allocations: 0 / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.385e-06/0.4608, allocations: 0 / 1.091 GB, free: 13.84 MB / 0.8575 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.0009198/0.4617, allocations: 0.5798 MB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.387e-05/0.4618, allocations: 12.03 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.706e-05/0.4619, allocations: 28.56 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005693/0.4625, allocations: 374.2 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.4625, allocations: 384 / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.379e-05/0.4625, allocations: 8.375 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000227/0.4628, allocations: 73.78 kB / 1.093 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.4628, allocations: 0 / 1.093 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.4628, allocations: 0 / 1.093 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.4628, allocations: 7.938 kB / 1.093 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002003/0.463, allocations: 55.88 kB / 1.093 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000658/0.4637, allocations: 428.6 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002007/0.4639, allocations: 50.66 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.379e-05/0.464, allocations: 28.77 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.756e-05/0.4641, allocations: 4 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.4641, allocations: 34.56 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.4641, allocations: 0 / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0004275/0.4645, allocations: 117.3 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.932e-05/0.4646, allocations: 55.34 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006185/0.4652, allocations: 0.5133 MB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.4653, allocations: 29.7 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/0.4654, allocations: 160 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/0.4655, allocations: 11.84 kB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.973e-05/0.4655, allocations: 17.7 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001891/0.4657, allocations: 346.8 kB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.724e-05/0.4658, allocations: 15.98 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.357e-05/0.4659, allocations: 23.97 kB / 1.094 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.4661, allocations: 45.09 kB / 1.094 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.4661, allocations: 0 / 1.094 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002309/0.4663, allocations: 101.3 kB / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/0.4663, allocations: 4 kB / 1.094 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.4664, allocations: 3.938 kB / 1.094 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.34e-05/0.4664, allocations: 0 / 1.094 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.4665, allocations: 11.98 kB / 1.094 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.4665, allocations: 4 kB / 1.094 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.256e-05/0.4666, allocations: 11.92 kB / 1.095 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.4666, allocations: 4 kB / 1.095 GB, free: 10.5 MB / 0.8575 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.0001817/0.4668, allocations: 169.8 kB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.335e-05/0.4669, allocations: 27.62 kB / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003027/0.4672, allocations: 104.1 kB / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.4672, allocations: 4 kB / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.4672, allocations: 4 kB / 1.095 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.4672, allocations: 3.938 kB / 1.095 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003182/0.4675, allocations: 265.5 kB / 1.095 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.4675, allocations: 3.938 kB / 1.095 GB, free: 9.855 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.134e-05/0.4676, allocations: 15.92 kB / 1.095 GB, free: 9.84 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.4676, allocations: 0 / 1.095 GB, free: 9.84 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.4676, allocations: 0 / 1.095 GB, free: 9.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.4676, allocations: 0 / 1.095 GB, free: 9.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.4676, allocations: 0 / 1.095 GB, free: 9.84 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002966/0.4679, allocations: 203.1 kB / 1.095 GB, free: 9.625 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.4681, allocations: 108.7 kB / 1.095 GB, free: 9.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.256e-05/0.4681, allocations: 4 kB / 1.095 GB, free: 9.496 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.4682, allocations: 3.984 kB / 1.095 GB, free: 9.492 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.282e-05/0.4683, allocations: 4 kB / 1.095 GB, free: 9.488 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.4683, allocations: 7.875 kB / 1.095 GB, free: 9.48 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004409/0.4687, allocations: 391.1 kB / 1.096 GB, free: 9.098 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4688, allocations: 0 / 1.096 GB, free: 9.098 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002886/0.469, allocations: 23.98 kB / 1.096 GB, free: 9.074 MB / 0.8575 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.001052/0.4701, allocations: 356.4 kB / 1.096 GB, free: 8.848 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002666/0.4704, allocations: 47.94 kB / 1.096 GB, free: 8.801 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.4704, allocations: 0 / 1.096 GB, free: 8.801 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.806e-05/0.4705, allocations: 23.97 kB / 1.096 GB, free: 8.777 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005432/0.471, allocations: 39.59 kB / 1.096 GB, free: 8.742 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009309/0.472, allocations: 468.8 kB / 1.097 GB, free: 8.262 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004396/0.4724, allocations: 0.7748 MB / 1.097 GB, free: 7.461 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 9.95e-05/0.4725, allocations: 37.92 kB / 1.097 GB, free: 7.426 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.211e-05/0.4726, allocations: 23.44 kB / 1.098 GB, free: 7.402 MB / 0.8575 GB Notification: Performance of SimCode: time 3.51e-07/0.4726, allocations: 4 kB / 1.098 GB, free: 7.398 MB / 0.8575 GB Notification: Performance of Templates: time 0.006707/0.4793, allocations: 2.282 MB / 1.1 GB, free: 5.133 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.SetPoints.Examples.Table.makefile (rm -f Buildings_9_Buildings.Controls.SetPoints.Examples.Table.pipe ; mkfifo Buildings_9_Buildings.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.SetPoints.Examples.Table.pipe >> ../files/Buildings_9_Buildings.Controls.SetPoints.Examples.Table.sim & ./Buildings_9_Buildings.Controls.SetPoints.Examples.Table -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.SetPoints.Examples.Table.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.SetPoints.Examples.Table_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_SetPoints_Examples_Table.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.SetPoints.Examples.Table.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches