Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.SetPoints.Examples.Table.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009998/0.0009998, allocations: 81.95 kB / 21.47 MB, free: 3.031 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009501/0.0009501, allocations: 160.9 kB / 24.86 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.021/1.021, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.834/1.834, allocations: 377.9 MB / 0.6247 GB, free: 8.398 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.Table,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tabLinExt.y|tabConExt.y",fileNamePrefix="Buildings_12_Buildings.Controls.SetPoints.Examples.Table") translateModel(Buildings.Controls.SetPoints.Examples.Table,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tabLinExt.y|tabConExt.y",fileNamePrefix="Buildings_12_Buildings.Controls.SetPoints.Examples.Table") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.8127 GB, free: 1.484 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.877e-05/2.04e-05, allocations: 3.094 kB / 0.8127 GB, free: 1.48 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.003601/0.003621, allocations: 1.719 MB / 0.8144 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001278/0.004899, allocations: 0.6504 MB / 0.815 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001205/0.005019, allocations: 4 kB / 0.815 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0005165/0.005536, allocations: 128.9 kB / 0.8152 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0007197/0.006255, allocations: 208.5 kB / 0.8154 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004262/0.006681, allocations: 193.1 kB / 0.8155 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003148/0.006996, allocations: 223.5 kB / 0.8158 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.007118, allocations: 21.78 kB / 0.8158 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000717/0.007835, allocations: 190.3 kB / 0.816 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002246/0.00806, allocations: 160.6 kB / 0.8161 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.242e-05/0.008092, allocations: 12 kB / 0.8161 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.693e-05/0.008189, allocations: 36.52 kB / 0.8162 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.995e-05/0.008289, allocations: 88.22 kB / 0.8162 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.248e-05/0.008352, allocations: 52.91 kB / 0.8163 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003254/0.008677, allocations: 199.1 kB / 0.8165 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.008681, allocations: 0 / 0.8165 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.272e-06/0.008682, allocations: 0 / 0.8165 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.008689, allocations: 0.5625 kB / 0.8165 GB, free: 13.68 MB / 0.7761 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.0005661/0.009255, allocations: 0.6279 MB / 0.8171 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.009296, allocations: 13.41 kB / 0.8171 GB, free: 13 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.348e-05/0.00935, allocations: 36.75 kB / 0.8171 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003079/0.009658, allocations: 285.5 kB / 0.8174 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.009667, allocations: 4.312 kB / 0.8174 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.009677, allocations: 5.531 kB / 0.8174 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.009788, allocations: 62.94 kB / 0.8175 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.001e-06/0.009794, allocations: 1.125 kB / 0.8175 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.009802, allocations: 8.062 kB / 0.8175 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.728e-06/0.009807, allocations: 0 / 0.8175 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.014e-05/0.009837, allocations: 16.89 kB / 0.8175 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000331/0.01017, allocations: 336.1 kB / 0.8178 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.241e-05/0.01024, allocations: 40.02 kB / 0.8179 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.702e-05/0.01026, allocations: 11.69 kB / 0.8179 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.01028, allocations: 5.344 kB / 0.8179 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.0103, allocations: 33.39 kB / 0.8179 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.0103, allocations: 0 / 0.8179 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001366/0.01043, allocations: 78.38 kB / 0.818 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.415e-05/0.01046, allocations: 51.41 kB / 0.818 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002781/0.01074, allocations: 431.6 kB / 0.8185 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.157e-06/0.01075, allocations: 25.7 kB / 0.8185 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.01086, allocations: 242.7 kB / 0.8187 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.699e-05/0.01088, allocations: 9.375 kB / 0.8187 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.622e-05/0.0109, allocations: 19.38 kB / 0.8187 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.01104, allocations: 0.5313 MB / 0.8193 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.466e-06/0.01105, allocations: 0 / 0.8193 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.018e-05/0.01106, allocations: 5.312 kB / 0.8193 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.357e-05/0.01108, allocations: 11.69 kB / 0.8193 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.01109, allocations: 0 / 0.8193 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.852e-05/0.01116, allocations: 88.64 kB / 0.8194 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.01118, allocations: 5.719 kB / 0.8194 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.01118, allocations: 0 / 0.8194 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.214e-06/0.01119, allocations: 0 / 0.8194 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.043e-05/0.01124, allocations: 12.03 kB / 0.8194 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.01124, allocations: 3.984 kB / 0.8194 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.577e-05/0.01128, allocations: 11.92 kB / 0.8194 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-06/0.01128, allocations: 0 / 0.8194 GB, free: 10.52 MB / 0.7761 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 7.08e-05/0.01135, allocations: 153.1 kB / 0.8195 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.403e-05/0.01139, allocations: 37.69 kB / 0.8196 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001001/0.01149, allocations: 84.17 kB / 0.8197 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.01149, allocations: 0 / 0.8197 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-06/0.01149, allocations: 0 / 0.8197 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.01149, allocations: 0 / 0.8197 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/0.01163, allocations: 170 kB / 0.8198 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.01163, allocations: 0 / 0.8198 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.338e-05/0.01166, allocations: 7.984 kB / 0.8198 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.01166, allocations: 4.781 kB / 0.8198 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.535e-06/0.01167, allocations: 8 kB / 0.8198 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.01167, allocations: 0.6562 kB / 0.8198 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01167, allocations: 2.594 kB / 0.8198 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001056/0.01177, allocations: 211.8 kB / 0.82 GB, free: 9.789 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.131e-05/0.01181, allocations: 35.78 kB / 0.8201 GB, free: 9.754 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.01182, allocations: 3.938 kB / 0.8201 GB, free: 9.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.33e-05/0.01187, allocations: 4 kB / 0.8201 GB, free: 9.746 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.717e-05/0.01189, allocations: 7.922 kB / 0.8201 GB, free: 9.738 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.0119, allocations: 0 / 0.8201 GB, free: 9.738 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001506/0.01205, allocations: 277.9 kB / 0.8204 GB, free: 9.477 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01205, allocations: 0 / 0.8204 GB, free: 9.477 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001765/0.01222, allocations: 23.98 kB / 0.8204 GB, free: 9.453 MB / 0.7761 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.0007133/0.01294, allocations: 335.6 kB / 0.8207 GB, free: 9.246 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.438e-05/0.013, allocations: 23.67 kB / 0.8207 GB, free: 9.219 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.013, allocations: 0 / 0.8207 GB, free: 9.219 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.684e-05/0.01302, allocations: 12.66 kB / 0.8207 GB, free: 9.203 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.01327, allocations: 57.23 kB / 0.8208 GB, free: 9.145 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004347/0.01371, allocations: 412.5 kB / 0.8212 GB, free: 8.715 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.407e-05/0.01376, allocations: 92.3 kB / 0.8213 GB, free: 8.605 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.104e-05/0.01381, allocations: 32.33 kB / 0.8213 GB, free: 8.578 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.932e-05/0.0139, allocations: 106.2 kB / 0.8214 GB, free: 8.473 MB / 0.7761 GB Notification: Performance of SimCode: time 6.51e-07/0.0139, allocations: 0 / 0.8214 GB, free: 8.473 MB / 0.7761 GB Notification: Performance of Templates: time 0.004679/0.01858, allocations: 2.679 MB / 0.824 GB, free: 5.836 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.SetPoints.Examples.Table.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.SetPoints.Examples.Table.pipe ; mkfifo Buildings_12_Buildings.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.SetPoints.Examples.Table.pipe >> ../files/Buildings_12_Buildings.Controls.SetPoints.Examples.Table.sim & ./Buildings_12_Buildings.Controls.SetPoints.Examples.Table -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.SetPoints.Examples.Table.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.SetPoints.Examples.Table_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_SetPoints_Examples_Table.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.214127571787685]