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.0009195/0.0009196, allocations: 98.27 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.00135/0.00135, allocations: 173.4 kB / 16.27 MB, free: 6.664 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.502/1.502, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.93/2.93, allocations: 462.6 MB / 0.7364 GB, free: 308 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004284/0.0004285, allocations: 9.062 kB / 0.9028 GB, free: 36.82 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4786/0.4791, allocations: 159.6 MB / 1.059 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.002552/0.4817, allocations: 1.377 MB / 1.06 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001075/0.4828, allocations: 0.4991 MB / 1.06 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.772e-05/0.4829, allocations: 0 / 1.06 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0006064/0.4835, allocations: 179.3 kB / 1.061 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003573/0.4839, allocations: 141.7 kB / 1.061 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004941/0.4844, allocations: 186.1 kB / 1.061 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002778/0.4846, allocations: 187.5 kB / 1.061 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001602/0.4848, allocations: 37.44 kB / 1.061 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.4849, allocations: 67.69 kB / 1.061 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000292/0.4852, allocations: 139.6 kB / 1.061 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.635e-05/0.4853, allocations: 12 kB / 1.061 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.4854, allocations: 35.97 kB / 1.061 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.4855, allocations: 75.69 kB / 1.061 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001075/0.4856, allocations: 113 kB / 1.062 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003026/0.4859, allocations: 251.3 kB / 1.062 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.4859, allocations: 0 / 1.062 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.595e-06/0.4859, allocations: 0 / 1.062 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.74e-06/0.4859, allocations: 0 / 1.062 GB, free: 2.219 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.0008567/0.4868, allocations: 0.5488 MB / 1.062 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.4869, allocations: 8.031 kB / 1.062 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.173e-05/0.4869, allocations: 28.66 kB / 1.062 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005151/0.4875, allocations: 378.2 kB / 1.063 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.4875, allocations: 4.375 kB / 1.063 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.703e-05/0.4875, allocations: 4.375 kB / 1.063 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000219/0.4877, allocations: 81.78 kB / 1.063 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.4877, allocations: 3.938 kB / 1.063 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.4878, allocations: 4 kB / 1.063 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.4878, allocations: 0 / 1.063 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002162/0.488, allocations: 63.89 kB / 1.063 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006168/0.4886, allocations: 428.5 kB / 1.063 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001846/0.4888, allocations: 62.56 kB / 1.063 GB, free: 488 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.4889, allocations: 36.91 kB / 1.063 GB, free: 448 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.119e-05/0.489, allocations: 3.984 kB / 1.063 GB, free: 444 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.489, allocations: 30.56 kB / 1.063 GB, free: 404 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.489, allocations: 0 / 1.063 GB, free: 404 kB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0004299/0.4894, allocations: 137.2 kB / 1.064 GB, free: 260 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.4895, allocations: 59.34 kB / 1.064 GB, free: 188 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000707/0.4902, allocations: 0.5094 MB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.4902, allocations: 25.7 kB / 1.064 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/0.4904, allocations: 168.1 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/0.4904, allocations: 11.81 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.637e-05/0.4905, allocations: 9.719 kB / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002122/0.4907, allocations: 346.8 kB / 1.065 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.588e-05/0.4908, allocations: 23.98 kB / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.133e-05/0.4909, allocations: 27.97 kB / 1.065 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001692/0.491, allocations: 48.83 kB / 1.065 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.4911, allocations: 0 / 1.065 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002581/0.4913, allocations: 113.3 kB / 1.065 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.4913, allocations: 4 kB / 1.065 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.4914, allocations: 7.984 kB / 1.065 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.4914, allocations: 0 / 1.065 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.472e-05/0.4915, allocations: 8 kB / 1.065 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.4915, allocations: 0 / 1.065 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.652e-05/0.4916, allocations: 27.77 kB / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.4916, allocations: 0 / 1.065 GB, free: 14.82 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.000162/0.4918, allocations: 165.8 kB / 1.065 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.888e-05/0.4918, allocations: 27.7 kB / 1.065 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003151/0.4922, allocations: 124 kB / 1.065 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.4922, allocations: 4 kB / 1.065 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.4922, allocations: 0 / 1.065 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.4922, allocations: 7.875 kB / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003217/0.4925, allocations: 261.5 kB / 1.065 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.4925, allocations: 0 / 1.065 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.296e-05/0.4926, allocations: 12 kB / 1.066 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.4926, allocations: 0 / 1.066 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.4926, allocations: 11.98 kB / 1.066 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.4926, allocations: 3.938 kB / 1.066 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4926, allocations: 0 / 1.066 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003189/0.493, allocations: 199.5 kB / 1.066 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.4931, allocations: 120.7 kB / 1.066 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.4931, allocations: 0 / 1.066 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.4932, allocations: 7.984 kB / 1.066 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.219e-05/0.4933, allocations: 15.97 kB / 1.066 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.4933, allocations: 3.938 kB / 1.066 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0005396/0.4938, allocations: 383.1 kB / 1.066 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.044e-06/0.4939, allocations: 0 / 1.066 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.00027/0.4941, allocations: 31.84 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.0009715/0.4951, allocations: 348.9 kB / 1.067 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00025/0.4954, allocations: 55.95 kB / 1.067 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4954, allocations: 0 / 1.067 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.864e-05/0.4955, allocations: 27.98 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.0004489/0.4959, allocations: 48.67 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.0009315/0.4969, 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.0005436/0.4974, allocations: 0.7791 MB / 1.068 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001045/0.4976, allocations: 37.92 kB / 1.068 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.13e-05/0.4976, allocations: 19.44 kB / 1.068 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.4976, allocations: 0 / 1.068 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of Templates: time 0.006098/0.5037, allocations: 2.11 MB / 1.07 GB, free: 9.508 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