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.001105/0.001105, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008897/0.008897, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.451/1.451, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.24/3.24, allocations: 462.7 MB / 0.7364 GB, free: 292 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0006084/0.0006082, allocations: 9.125 kB / 0.9028 GB, free: 36.77 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4556/0.4563, allocations: 159.6 MB / 1.059 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.002362/0.4587, allocations: 1.373 MB / 1.06 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001025/0.4598, allocations: 0.4991 MB / 1.06 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.88e-05/0.4598, allocations: 3.938 kB / 1.06 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0005967/0.4605, allocations: 173.4 kB / 1.061 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000348/0.4608, allocations: 144.7 kB / 1.061 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004162/0.4612, allocations: 175.2 kB / 1.061 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002655/0.4615, allocations: 195.5 kB / 1.061 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001465/0.4617, allocations: 37.45 kB / 1.061 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.4618, allocations: 71.67 kB / 1.061 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002203/0.462, allocations: 143.6 kB / 1.061 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.035e-05/0.462, allocations: 4 kB / 1.061 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.4622, allocations: 31.94 kB / 1.061 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.4623, allocations: 75.73 kB / 1.061 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.4624, allocations: 113 kB / 1.062 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003121/0.4627, allocations: 251.3 kB / 1.062 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.4627, allocations: 0 / 1.062 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.795e-06/0.4627, allocations: 8 kB / 1.062 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.4627, allocations: 0 / 1.062 GB, free: 2.215 MB / 0.8106 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.000823/0.4636, allocations: 0.5448 MB / 1.062 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.4636, allocations: 12.03 kB / 1.062 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.117e-05/0.4637, allocations: 28.59 kB / 1.062 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005037/0.4642, allocations: 374.3 kB / 1.063 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.4642, allocations: 384 / 1.063 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.4643, allocations: 12.38 kB / 1.063 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002314/0.4645, allocations: 77.78 kB / 1.063 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.4645, allocations: 0 / 1.063 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.4645, allocations: 7.938 kB / 1.063 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.4645, allocations: 0 / 1.063 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002098/0.4648, allocations: 67.95 kB / 1.063 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005938/0.4654, allocations: 428.5 kB / 1.063 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.4656, allocations: 58.55 kB / 1.063 GB, free: 488 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.4657, allocations: 28.91 kB / 1.063 GB, free: 456 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.809e-05/0.4657, allocations: 3.984 kB / 1.063 GB, free: 452 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.687e-05/0.4658, allocations: 34.56 kB / 1.063 GB, free: 408 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.373e-06/0.4658, allocations: 0 / 1.063 GB, free: 408 kB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0004627/0.4662, allocations: 137.3 kB / 1.064 GB, free: 264 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.4663, allocations: 55.41 kB / 1.064 GB, free: 196 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006328/0.4669, allocations: 0.5133 MB / 1.064 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.467, allocations: 25.7 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.4671, allocations: 160.1 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.895e-05/0.4671, allocations: 15.72 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.586e-05/0.4672, allocations: 13.72 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.4673, allocations: 342.8 kB / 1.065 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.695e-05/0.4674, allocations: 31.97 kB / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.777e-05/0.4675, allocations: 19.98 kB / 1.065 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001809/0.4677, allocations: 61.09 kB / 1.065 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4677, allocations: 0 / 1.065 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002388/0.468, allocations: 109.3 kB / 1.065 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.468, allocations: 8 kB / 1.065 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.468, allocations: 0 / 1.065 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/0.468, allocations: 4 kB / 1.065 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.957e-05/0.4681, allocations: 11.98 kB / 1.065 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.4682, allocations: 4 kB / 1.065 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.626e-05/0.4682, allocations: 15.78 kB / 1.065 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.4683, allocations: 4 kB / 1.065 GB, free: 14.83 MB / 0.8262 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.0001826/0.4684, allocations: 171.1 kB / 1.065 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.638e-05/0.4685, allocations: 27.66 kB / 1.065 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003182/0.4688, allocations: 131.9 kB / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.4688, allocations: 0 / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.4688, allocations: 0 / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.4689, allocations: 3.938 kB / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002934/0.4692, allocations: 257.5 kB / 1.065 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4692, allocations: 4 kB / 1.066 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.386e-05/0.4692, allocations: 15.98 kB / 1.066 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.4692, allocations: 0 / 1.066 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.4693, allocations: 0 / 1.066 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.4693, allocations: 0 / 1.066 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.4693, allocations: 0 / 1.066 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003078/0.4696, allocations: 207.2 kB / 1.066 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.4697, allocations: 116.7 kB / 1.066 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.78e-05/0.4697, allocations: 0 / 1.066 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.4698, allocations: 11.98 kB / 1.066 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.963e-05/0.4699, allocations: 7.875 kB / 1.066 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.4699, allocations: 15.92 kB / 1.066 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004115/0.4703, allocations: 383.1 kB / 1.066 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4703, allocations: 0 / 1.066 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002692/0.4706, allocations: 27.91 kB / 1.066 GB, free: 13.37 MB / 0.8262 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.000947/0.4716, allocations: 345.6 kB / 1.067 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002456/0.4718, allocations: 47.95 kB / 1.067 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4718, allocations: 0 / 1.067 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.79e-05/0.4719, allocations: 40.05 kB / 1.067 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004469/0.4724, allocations: 39.11 kB / 1.067 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008205/0.4732, allocations: 0.5272 MB / 1.067 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003574/0.4736, allocations: 0.779 MB / 1.068 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.289e-05/0.4737, allocations: 37.92 kB / 1.068 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.249e-05/0.4738, allocations: 23.44 kB / 1.068 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of SimCode: time 3.81e-07/0.4738, allocations: 0 / 1.068 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of Templates: time 0.005899/0.4797, allocations: 2.109 MB / 1.07 GB, free: 9.512 MB / 0.8262 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