Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.01123/0.01123, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001839/0.001839, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.545/1.545, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.721/2.721, allocations: 390.2 MB / 0.6648 GB, free: 220 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 65.22 kB / 0.9508 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4299/0.4312, allocations: 140.4 MB / 1.088 GB, free: 1.566 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.003718/0.435, allocations: 1.653 MB / 1.09 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001109/0.4361, allocations: 0.5161 MB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.4363, allocations: 8 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007497/0.437, allocations: 166.4 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004933/0.4375, allocations: 171.5 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000524/0.4381, allocations: 196.9 kB / 1.091 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003159/0.4384, allocations: 203.5 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001862/0.4386, allocations: 45.45 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.4387, allocations: 83.72 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002475/0.439, allocations: 155.6 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.401e-05/0.439, allocations: 15.98 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001275/0.4392, allocations: 39.94 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.4393, allocations: 79.75 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.4394, allocations: 95.28 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003671/0.4398, allocations: 263.1 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.686e-06/0.4398, allocations: 4 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.095e-06/0.4398, allocations: 0 / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.4398, allocations: 0 / 1.091 GB, free: 13.89 MB / 0.8575 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.0009931/0.4408, allocations: 0.5836 MB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.618e-05/0.4409, allocations: 8.031 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.841e-05/0.441, allocations: 32.56 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005516/0.4415, allocations: 362.3 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.4416, allocations: 4.375 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/0.4416, allocations: 384 / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000241/0.4418, allocations: 85.72 kB / 1.093 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.4419, allocations: 0 / 1.093 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.4419, allocations: 0 / 1.093 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.4419, allocations: 3.938 kB / 1.093 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002061/0.4421, allocations: 63.94 kB / 1.093 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006811/0.4428, allocations: 432.5 kB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001757/0.443, allocations: 46.56 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.537e-05/0.4431, allocations: 28.89 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.008e-05/0.4431, allocations: 0 / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.4432, allocations: 34.66 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 2.344e-06/0.4432, allocations: 7.938 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0004253/0.4436, allocations: 113.3 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/0.4436, allocations: 51.41 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005763/0.4442, allocations: 0.5094 MB / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.4442, allocations: 25.7 kB / 1.094 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.4444, allocations: 168 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.4444, allocations: 7.844 kB / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.306e-05/0.4445, allocations: 25.7 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.4447, allocations: 342.8 kB / 1.094 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.242e-05/0.4448, allocations: 19.98 kB / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.014e-05/0.4449, allocations: 20.16 kB / 1.094 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/0.445, allocations: 48.84 kB / 1.094 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.445, allocations: 4 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002256/0.4453, allocations: 97.28 kB / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.4453, allocations: 8 kB / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.4453, allocations: 0 / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.4453, allocations: 0 / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.657e-05/0.4454, allocations: 11.98 kB / 1.094 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.4454, allocations: 0 / 1.094 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.603e-05/0.4455, allocations: 11.92 kB / 1.095 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.4455, allocations: 4 kB / 1.095 GB, free: 10.55 MB / 0.8575 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.000158/0.4457, allocations: 165.8 kB / 1.095 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.391e-05/0.4458, allocations: 27.62 kB / 1.095 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003095/0.4461, allocations: 120 kB / 1.095 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.4461, allocations: 0 / 1.095 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.4461, allocations: 0 / 1.095 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.4461, allocations: 3.938 kB / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002461/0.4464, allocations: 257.5 kB / 1.095 GB, free: 9.914 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.4464, allocations: 11.94 kB / 1.095 GB, free: 9.902 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.927e-05/0.4464, allocations: 7.984 kB / 1.095 GB, free: 9.895 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.4465, allocations: 4 kB / 1.095 GB, free: 9.891 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.4465, allocations: 0 / 1.095 GB, free: 9.891 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.4465, allocations: 0 / 1.095 GB, free: 9.891 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4465, allocations: 0 / 1.095 GB, free: 9.891 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003055/0.4468, allocations: 211 kB / 1.095 GB, free: 9.668 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.4469, allocations: 104.7 kB / 1.095 GB, free: 9.547 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.275e-05/0.4469, allocations: 4 kB / 1.095 GB, free: 9.543 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.4471, allocations: 11.92 kB / 1.095 GB, free: 9.531 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.493e-05/0.4471, allocations: 0 / 1.095 GB, free: 9.531 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.4471, allocations: 11.94 kB / 1.095 GB, free: 9.52 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004198/0.4476, allocations: 391.1 kB / 1.096 GB, free: 9.137 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4476, allocations: 0 / 1.096 GB, free: 9.137 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002705/0.4478, allocations: 20 kB / 1.096 GB, free: 9.117 MB / 0.8575 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.001004/0.4489, allocations: 351.7 kB / 1.096 GB, free: 8.895 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002604/0.4491, allocations: 47.95 kB / 1.096 GB, free: 8.848 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.4491, allocations: 0 / 1.096 GB, free: 8.848 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.981e-05/0.4492, allocations: 31.91 kB / 1.096 GB, free: 8.816 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004396/0.4497, allocations: 37 kB / 1.096 GB, free: 8.785 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008118/0.4505, allocations: 456.8 kB / 1.097 GB, free: 8.316 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004129/0.4509, allocations: 0.7788 MB / 1.097 GB, free: 7.512 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.469e-05/0.451, allocations: 37.92 kB / 1.097 GB, free: 7.477 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.625e-05/0.4511, allocations: 19.44 kB / 1.098 GB, free: 7.457 MB / 0.8575 GB Notification: Performance of SimCode: time 3.11e-07/0.4511, allocations: 0 / 1.098 GB, free: 7.457 MB / 0.8575 GB Notification: Performance of Templates: time 0.006625/0.4577, allocations: 2.344 MB / 1.1 GB, free: 5.125 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.SetPoints.Examples.Table.makefile (rm -f Buildings_9_Buildings.Controls.SetPoints.Examples.Table.pipe ; mkfifo Buildings_9_Buildings.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.SetPoints.Examples.Table.pipe >> ../files/Buildings_9_Buildings.Controls.SetPoints.Examples.Table.sim & ./Buildings_9_Buildings.Controls.SetPoints.Examples.Table -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.SetPoints.Examples.Table.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.SetPoints.Examples.Table_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_SetPoints_Examples_Table.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.SetPoints.Examples.Table.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches