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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.00125/0.00125, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002002/0.002002, allocations: 172.9 kB / 16.92 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.579/1.579, allocations: 223.3 MB / 241 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.178/3.178, allocations: 462.6 MB / 0.737 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004303/0.0004303, allocations: 8.781 kB / 0.9034 GB, free: 36.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.394/0.3944, allocations: 159.6 MB / 1.059 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.00232/0.3968, allocations: 1.361 MB / 1.061 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001061/0.3979, allocations: 0.5069 MB / 1.061 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.324e-05/0.398, allocations: 4 kB / 1.061 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0006413/0.3986, allocations: 164.5 kB / 1.061 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003684/0.399, allocations: 150 kB / 1.061 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005278/0.3995, allocations: 179 kB / 1.062 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003081/0.3999, allocations: 195.5 kB / 1.062 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001689/0.4, allocations: 41.44 kB / 1.062 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/0.4002, allocations: 67.69 kB / 1.062 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000234/0.4004, allocations: 143.6 kB / 1.062 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.267e-05/0.4004, allocations: 4 kB / 1.062 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.4006, allocations: 35.98 kB / 1.062 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.4007, allocations: 67.75 kB / 1.062 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001215/0.4008, allocations: 116.9 kB / 1.062 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002676/0.4011, allocations: 207.8 kB / 1.062 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.4011, allocations: 0 / 1.062 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.585e-06/0.4011, allocations: 4 kB / 1.062 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.4011, allocations: 3.938 kB / 1.062 GB, free: 1.797 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.0009094/0.402, allocations: 0.5488 MB / 1.063 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.864e-05/0.4021, allocations: 11.97 kB / 1.063 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.976e-05/0.4022, allocations: 24.66 kB / 1.063 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005355/0.4027, allocations: 378.2 kB / 1.063 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.4027, allocations: 384 / 1.063 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.4028, allocations: 8.375 kB / 1.063 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002364/0.403, allocations: 81.78 kB / 1.063 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.403, allocations: 0 / 1.063 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.403, allocations: 0 / 1.063 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.4031, allocations: 0 / 1.063 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002209/0.4033, allocations: 71.89 kB / 1.064 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006412/0.4039, allocations: 424.5 kB / 1.064 GB, free: 128 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.4041, allocations: 62.58 kB / 1.064 GB, free: 56 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.693e-05/0.4042, allocations: 28.91 kB / 1.064 GB, free: 24 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.945e-05/0.4043, allocations: 3.984 kB / 1.064 GB, free: 20 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.95e-05/0.4043, allocations: 30.56 kB / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.4043, allocations: 8 kB / 1.064 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0004241/0.4048, allocations: 129.3 kB / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.614e-05/0.4048, allocations: 55.41 kB / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006192/0.4055, allocations: 0.5055 MB / 1.065 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.4055, allocations: 29.64 kB / 1.065 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.4056, allocations: 164.1 kB / 1.065 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.555e-05/0.4057, allocations: 11.81 kB / 1.065 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.569e-05/0.4057, allocations: 13.72 kB / 1.065 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001849/0.4059, allocations: 342.8 kB / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.762e-05/0.406, allocations: 27.97 kB / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.585e-05/0.4061, allocations: 23.98 kB / 1.065 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001828/0.4063, allocations: 64.75 kB / 1.065 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4063, allocations: 0 / 1.065 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002489/0.4065, allocations: 105.4 kB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.4066, allocations: 4 kB / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.4066, allocations: 0 / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.4066, allocations: 336 / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.4067, allocations: 23.92 kB / 1.066 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.4067, allocations: 0 / 1.066 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.112e-05/0.4068, allocations: 19.72 kB / 1.066 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.4068, allocations: 4 kB / 1.066 GB, free: 14.41 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.0001717/0.407, allocations: 169.8 kB / 1.066 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.18e-05/0.4071, allocations: 27.7 kB / 1.066 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003691/0.4074, allocations: 124 kB / 1.066 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.4074, allocations: 3.984 kB / 1.066 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.719e-06/0.4075, allocations: 4 kB / 1.066 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.4075, allocations: 3.938 kB / 1.066 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003081/0.4078, allocations: 257.5 kB / 1.066 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.4078, allocations: 8 kB / 1.066 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.747e-05/0.4079, allocations: 15.92 kB / 1.066 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.4079, allocations: 0 / 1.066 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.4079, allocations: 0 / 1.066 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.4079, allocations: 0 / 1.066 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.4079, allocations: 7.984 kB / 1.066 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003128/0.4082, allocations: 207.2 kB / 1.066 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.4083, allocations: 112.7 kB / 1.066 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.873e-05/0.4084, allocations: 0 / 1.066 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.4085, allocations: 11.98 kB / 1.066 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.199e-05/0.4085, allocations: 0 / 1.066 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.4086, allocations: 11.94 kB / 1.066 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004097/0.409, allocations: 391.1 kB / 1.067 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.409, allocations: 0 / 1.067 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002742/0.4093, allocations: 19.91 kB / 1.067 GB, free: 12.96 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.0009643/0.4102, allocations: 349.6 kB / 1.067 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002434/0.4105, allocations: 55.89 kB / 1.067 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4105, allocations: 4 kB / 1.067 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.617e-05/0.4106, allocations: 31.97 kB / 1.067 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004484/0.4111, allocations: 37.53 kB / 1.067 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008855/0.4119, allocations: 0.5642 MB / 1.068 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003757/0.4123, allocations: 0.7713 MB / 1.069 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.868e-05/0.4124, allocations: 19.44 kB / 1.069 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of SimCode: time 3.1e-07/0.4124, allocations: 0 / 1.069 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of Templates: time 0.006536/0.419, allocations: 3.144 MB / 1.072 GB, free: 8.062 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.SetPoints.Examples.Table.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches