Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.00734/0.00734, allocations: 100.1 kB / 15.73 MB, free: 6.035 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.001449/0.001449, allocations: 187.3 kB / 16.67 MB, free: 5.965 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.535/1.535, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.106/3.106, allocations: 461.9 MB / 0.7347 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 59.84 kB / 1.054 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4843/0.4863, allocations: 157.4 MB / 1.208 GB, free: 9.672 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.004177/0.4905, allocations: 1.643 MB / 1.209 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001299/0.4918, allocations: 0.5268 MB / 1.21 GB, free: 7.484 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001724/0.492, allocations: 0 / 1.21 GB, free: 7.484 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007168/0.4928, allocations: 166.5 kB / 1.21 GB, free: 7.324 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0005739/0.4934, allocations: 158.4 kB / 1.21 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005637/0.4939, allocations: 193.2 kB / 1.21 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000362/0.4943, allocations: 207.5 kB / 1.211 GB, free: 6.781 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.4945, allocations: 37.53 kB / 1.211 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001352/0.4946, allocations: 75.73 kB / 1.211 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002318/0.4949, allocations: 159.6 kB / 1.211 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.44e-05/0.4949, allocations: 15.94 kB / 1.211 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001334/0.4951, allocations: 43.92 kB / 1.211 GB, free: 6.457 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001271/0.4952, allocations: 83.75 kB / 1.211 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.4953, allocations: 99.28 kB / 1.211 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003633/0.4957, allocations: 263.1 kB / 1.211 GB, free: 6.02 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.4957, allocations: 3.938 kB / 1.211 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.383e-06/0.4957, allocations: 0 / 1.211 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.4957, allocations: 0 / 1.211 GB, free: 6.016 MB / 0.9669 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.0009162/0.4966, allocations: 0.5835 MB / 1.212 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.4967, allocations: 8.625 kB / 1.212 GB, free: 5.375 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.178e-05/0.4968, allocations: 28.64 kB / 1.212 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005266/0.4973, allocations: 374.3 kB / 1.212 GB, free: 4.945 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.4973, allocations: 4.375 kB / 1.212 GB, free: 4.941 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.284e-05/0.4973, allocations: 4.375 kB / 1.212 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002111/0.4976, allocations: 81.72 kB / 1.212 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.4976, allocations: 0 / 1.212 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.4976, allocations: 0 / 1.212 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.4976, allocations: 0 / 1.212 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002044/0.4978, allocations: 51.95 kB / 1.212 GB, free: 4.801 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006133/0.4984, allocations: 436.4 kB / 1.213 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/0.4986, allocations: 54.53 kB / 1.213 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.391e-05/0.4987, allocations: 20.91 kB / 1.213 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.689e-05/0.4988, allocations: 7.984 kB / 1.213 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.4988, allocations: 34.56 kB / 1.213 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.483e-06/0.4988, allocations: 0 / 1.213 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0004225/0.4993, allocations: 117.3 kB / 1.213 GB, free: 4.066 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/0.4993, allocations: 51.41 kB / 1.213 GB, free: 4.004 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005933/0.4999, allocations: 0.5094 MB / 1.214 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.4999, allocations: 25.7 kB / 1.214 GB, free: 3.457 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.5001, allocations: 168.1 kB / 1.214 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.538e-05/0.5001, allocations: 11.81 kB / 1.214 GB, free: 3.277 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.602e-05/0.5002, allocations: 13.72 kB / 1.214 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001834/0.5004, allocations: 350.7 kB / 1.214 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.342e-05/0.5004, allocations: 15.98 kB / 1.214 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.312e-05/0.5005, allocations: 15.98 kB / 1.214 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.5007, allocations: 56.75 kB / 1.214 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.5007, allocations: 3.938 kB / 1.214 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002371/0.5009, allocations: 93.38 kB / 1.214 GB, free: 2.715 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.501, allocations: 5.562 kB / 1.214 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.501, allocations: 0 / 1.214 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.501, allocations: 4 kB / 1.214 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.352e-05/0.5011, allocations: 7.984 kB / 1.214 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.5011, allocations: 7.984 kB / 1.214 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.443e-05/0.5012, allocations: 19.78 kB / 1.214 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.5012, allocations: 7.984 kB / 1.214 GB, free: 2.664 MB / 0.9669 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.0001744/0.5014, allocations: 165.8 kB / 1.214 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.383e-05/0.5015, allocations: 23.72 kB / 1.214 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002983/0.5018, allocations: 119.9 kB / 1.215 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.5018, allocations: 0 / 1.215 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.5018, allocations: 4 kB / 1.215 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.5018, allocations: 3.938 kB / 1.215 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003094/0.5021, allocations: 257.5 kB / 1.215 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.5021, allocations: 0 / 1.215 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.314e-05/0.5022, allocations: 11.98 kB / 1.215 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.5022, allocations: 3.938 kB / 1.215 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.5022, allocations: 0 / 1.215 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.5022, allocations: 4 kB / 1.215 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.5022, allocations: 0 / 1.215 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002827/0.5025, allocations: 199.5 kB / 1.215 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.604e-05/0.5026, allocations: 112.8 kB / 1.215 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.467e-05/0.5027, allocations: 3.984 kB / 1.215 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.5028, allocations: 7.984 kB / 1.215 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.899e-05/0.5028, allocations: 4 kB / 1.215 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-06/0.5028, allocations: 3.938 kB / 1.215 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004134/0.5033, allocations: 383.1 kB / 1.216 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5033, allocations: 4 kB / 1.216 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000266/0.5035, allocations: 28 kB / 1.216 GB, free: 1.246 MB / 0.9669 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.0009811/0.5045, allocations: 352.7 kB / 1.216 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002439/0.5048, allocations: 43.95 kB / 1.216 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5048, allocations: 0 / 1.216 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.217e-05/0.5049, allocations: 19.92 kB / 1.216 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000492/0.5054, allocations: 48.72 kB / 1.216 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008437/0.5062, allocations: 476.5 kB / 1.216 GB, free: 436 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004625/0.5067, allocations: 0.7749 MB / 1.217 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001045/0.5068, allocations: 41.92 kB / 1.217 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.741e-05/0.5069, allocations: 23.38 kB / 1.217 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of SimCode: time 2.1e-07/0.5069, allocations: 0 / 1.217 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of Templates: time 0.006562/0.5135, allocations: 2.292 MB / 1.22 GB, free: 13.28 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.makefile (rm -f Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.sim & ./Buildings_latest_Buildings.Controls.SetPoints.Examples.Table -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Examples.Table_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Examples_Table.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches