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.001109/0.001109, allocations: 100.1 kB / 15.88 MB, free: 12 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.001096/0.001096, allocations: 196 kB / 16.79 MB, free: 6.809 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.519/1.519, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.012/3.012, allocations: 461.8 MB / 0.7348 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 67.22 kB / 0.899 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3945/0.3958, allocations: 157.4 MB / 1.053 GB, free: 8.336 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.003923/0.3998, allocations: 1.712 MB / 1.054 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001112/0.401, allocations: 0.5147 MB / 1.055 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.378e-05/0.4011, allocations: 4 kB / 1.055 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0006033/0.4017, allocations: 162.8 kB / 1.055 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003322/0.402, allocations: 158 kB / 1.055 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004462/0.4025, allocations: 170.2 kB / 1.055 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002429/0.4027, allocations: 195.5 kB / 1.056 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.4029, allocations: 37.45 kB / 1.056 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.403, allocations: 75.67 kB / 1.056 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002055/0.4032, allocations: 147.6 kB / 1.056 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.432e-05/0.4032, allocations: 4 kB / 1.056 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.301e-05/0.4033, allocations: 32 kB / 1.056 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.981e-05/0.4034, allocations: 79.67 kB / 1.056 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.717e-05/0.4035, allocations: 87.3 kB / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002467/0.4038, allocations: 211.9 kB / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.4038, allocations: 0 / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.092e-06/0.4038, allocations: 4 kB / 1.056 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.4038, allocations: 0 / 1.056 GB, free: 4.758 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.0008515/0.4047, allocations: 0.5798 MB / 1.057 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.4047, allocations: 15.95 kB / 1.057 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.093e-05/0.4048, allocations: 36.5 kB / 1.057 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004754/0.4053, allocations: 366.3 kB / 1.057 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/0.4053, allocations: 384 / 1.057 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/0.4053, allocations: 4.375 kB / 1.057 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.4055, allocations: 77.78 kB / 1.057 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.4055, allocations: 0 / 1.057 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.4056, allocations: 3.984 kB / 1.057 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.4056, allocations: 4 kB / 1.057 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002082/0.4058, allocations: 55.89 kB / 1.057 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005723/0.4064, allocations: 428.6 kB / 1.058 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/0.4066, allocations: 54.64 kB / 1.058 GB, free: 3 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.4067, allocations: 24.83 kB / 1.058 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.784e-05/0.4067, allocations: 4 kB / 1.058 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.4067, allocations: 42.5 kB / 1.058 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.4067, allocations: 0 / 1.058 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.000412/0.4072, allocations: 117.2 kB / 1.058 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.4072, allocations: 51.41 kB / 1.058 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005774/0.4078, allocations: 0.5094 MB / 1.059 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.4078, allocations: 25.7 kB / 1.059 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.408, allocations: 172 kB / 1.059 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.061e-05/0.408, allocations: 3.906 kB / 1.059 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.511e-05/0.408, allocations: 17.72 kB / 1.059 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.4082, allocations: 350.7 kB / 1.059 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.136e-05/0.4083, allocations: 15.98 kB / 1.059 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.81e-05/0.4084, allocations: 15.98 kB / 1.059 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.4086, allocations: 52.75 kB / 1.059 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.4086, allocations: 0 / 1.059 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002377/0.4088, allocations: 105.2 kB / 1.059 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.4088, allocations: 5.562 kB / 1.059 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.4088, allocations: 0 / 1.059 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.4089, allocations: 0 / 1.059 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.858e-05/0.409, allocations: 11.98 kB / 1.059 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.409, allocations: 0 / 1.059 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.515e-05/0.409, allocations: 19.86 kB / 1.059 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.4091, allocations: 3.984 kB / 1.059 GB, free: 1.398 MB / 0.8106 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.0001584/0.4092, allocations: 169.8 kB / 1.059 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.262e-05/0.4093, allocations: 27.62 kB / 1.059 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002805/0.4096, allocations: 112 kB / 1.06 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.4096, allocations: 0 / 1.06 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.4096, allocations: 8 kB / 1.06 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.4096, allocations: 3.938 kB / 1.06 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00028/0.4099, allocations: 257.5 kB / 1.06 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.4099, allocations: 0 / 1.06 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.416e-05/0.41, allocations: 11.98 kB / 1.06 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.41, allocations: 384 / 1.06 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.41, allocations: 0 / 1.06 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.41, allocations: 0 / 1.06 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.41, allocations: 0 / 1.06 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002976/0.4103, allocations: 207.1 kB / 1.06 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.607e-05/0.4104, allocations: 104.8 kB / 1.06 GB, free: 420 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.782e-05/0.4104, allocations: 0 / 1.06 GB, free: 420 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.4105, allocations: 11.98 kB / 1.06 GB, free: 408 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.817e-05/0.4106, allocations: 4 kB / 1.06 GB, free: 404 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.4106, allocations: 3.938 kB / 1.06 GB, free: 400 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0004015/0.411, allocations: 387 kB / 1.061 GB, free: 16 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.411, allocations: 7.938 kB / 1.061 GB, free: 8 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000278/0.4113, allocations: 27.95 kB / 1.061 GB, free: 15.98 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.0009009/0.4122, allocations: 355 kB / 1.061 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002368/0.4125, allocations: 51.95 kB / 1.061 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4125, allocations: 0 / 1.061 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.745e-05/0.4126, allocations: 19.98 kB / 1.061 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003986/0.413, allocations: 42.12 kB / 1.061 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008253/0.4138, allocations: 0.5665 MB / 1.062 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000389/0.4142, allocations: 0.7674 MB / 1.062 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.384e-05/0.4143, allocations: 27.44 kB / 1.062 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of SimCode: time 3.61e-07/0.4143, allocations: 0 / 1.062 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of Templates: time 0.005476/0.4198, allocations: 3.171 MB / 1.065 GB, free: 11.07 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