Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.OBC.CDL.Continuous.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 97.91 kB / 15.05 MB, free: 1.105 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.001235/0.001235, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.685/1.685, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.542/1.542, allocations: 251.9 MB / 0.51 GB, free: 4.871 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005613/0.0005613, allocations: 20 kB / 0.6242 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5609/0.5615, allocations: 106.3 MB / 0.728 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable): time 0.003126/0.5647, allocations: 2.053 MB / 0.73 GB, free: 9.344 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002149/0.5669, allocations: 1.186 MB / 0.7312 GB, free: 8.148 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001471/0.567, allocations: 11.88 kB / 0.7312 GB, free: 8.137 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005165/0.5675, allocations: 279.1 kB / 0.7314 GB, free: 7.863 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004614/0.568, allocations: 275.3 kB / 0.7317 GB, free: 7.594 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007156/0.5687, allocations: 310.3 kB / 0.732 GB, free: 7.297 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005501/0.5693, allocations: 411.1 kB / 0.7324 GB, free: 6.895 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001755/0.5695, allocations: 77.03 kB / 0.7325 GB, free: 6.816 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000382/0.5699, allocations: 274.9 kB / 0.7327 GB, free: 6.547 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003434/0.5702, allocations: 227 kB / 0.7329 GB, free: 6.324 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.564e-05/0.5703, allocations: 8 kB / 0.7329 GB, free: 6.316 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.5704, allocations: 43.91 kB / 0.733 GB, free: 6.273 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000168/0.5706, allocations: 167.4 kB / 0.7331 GB, free: 6.109 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.661e-05/0.5707, allocations: 117.4 kB / 0.7333 GB, free: 5.988 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005173/0.5712, allocations: 0.5396 MB / 0.7338 GB, free: 5.449 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.5712, allocations: 4 kB / 0.7338 GB, free: 5.445 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.114e-06/0.5712, allocations: 0 / 0.7338 GB, free: 5.445 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.5712, allocations: 0 / 0.7338 GB, free: 5.445 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.00138/0.5726, allocations: 0.8669 MB / 0.7346 GB, free: 4.527 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.5727, allocations: 12.03 kB / 0.7347 GB, free: 4.516 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001159/0.5728, allocations: 71.11 kB / 0.7347 GB, free: 4.445 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008666/0.5737, allocations: 0.558 MB / 0.7353 GB, free: 3.848 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.014e-05/0.5737, allocations: 11.94 kB / 0.7353 GB, free: 3.836 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.955e-05/0.5737, allocations: 15.98 kB / 0.7353 GB, free: 3.82 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003836/0.5741, allocations: 201.8 kB / 0.7355 GB, free: 3.602 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.5742, allocations: 0 / 0.7355 GB, free: 3.602 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.5742, allocations: 0 / 0.7355 GB, free: 3.602 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.5742, allocations: 4 kB / 0.7355 GB, free: 3.598 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002484/0.5745, allocations: 103.8 kB / 0.7356 GB, free: 3.496 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001392/0.5759, allocations: 1.028 MB / 0.7366 GB, free: 2.402 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006472/0.5765, allocations: 285.3 kB / 0.7369 GB, free: 2.078 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.576e-05/0.5766, allocations: 4 kB / 0.7369 GB, free: 2.074 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000556/0.5771, allocations: 224.4 kB / 0.7371 GB, free: 1.828 MB / 0.545 GB Notification: Performance of pre-optimization done (n=25): time 1.724e-06/0.5771, allocations: 0 / 0.7371 GB, free: 1.828 MB / 0.545 GB Notification: Performance of matching and sorting (n=25): time 0.00102/0.5782, allocations: 417.7 kB / 0.7375 GB, free: 1.414 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001378/0.5783, allocations: 158.2 kB / 0.7376 GB, free: 1.223 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001354/0.5797, allocations: 0.9888 MB / 0.7386 GB, free: 224 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.351e-05/0.5797, allocations: 37.7 kB / 0.7386 GB, free: 180 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003152/0.5801, allocations: 280.8 kB / 0.7389 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.238e-05/0.5802, allocations: 79.14 kB / 0.739 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.832e-05/0.5802, allocations: 15.94 kB / 0.739 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002435/0.5805, allocations: 386.8 kB / 0.7394 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003661/0.5808, allocations: 205.2 kB / 0.7396 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004565/0.5813, allocations: 299 kB / 0.7398 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004177/0.5817, allocations: 244.7 kB / 0.7401 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.5817, allocations: 0 / 0.7401 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001051/0.5828, allocations: 0.6595 MB / 0.7407 GB, free: 14 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/0.5828, allocations: 7.953 kB / 0.7407 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.5828, allocations: 4 kB / 0.7407 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.5829, allocations: 4 kB / 0.7407 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004286/0.5833, allocations: 116 kB / 0.7408 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/0.5833, allocations: 8 kB / 0.7408 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000301/0.5836, allocations: 39.73 kB / 0.7409 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.705e-05/0.5837, allocations: 27.98 kB / 0.7409 GB, free: 13.79 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition4,$PRE.timTabLinHol.tab.nextTimeEvent,$whenCondition3,$PRE.timTabLinDer.tab.nextTimeEvent,$whenCondition2,$PRE.timTabCon.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEvent,$PRE.timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,$PRE.timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003371/0.584, allocations: 273.6 kB / 0.7412 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.82e-05/0.5841, allocations: 71.06 kB / 0.7412 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001338/0.5843, allocations: 73.55 kB / 0.7413 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.5843, allocations: 4 kB / 0.7413 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.5843, allocations: 4 kB / 0.7413 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.5843, allocations: 7.984 kB / 0.7413 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004896/0.5848, allocations: 445.3 kB / 0.7418 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.5848, allocations: 0 / 0.7418 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.672e-05/0.5849, allocations: 19.94 kB / 0.7418 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.327e-06/0.5849, allocations: 7.984 kB / 0.7418 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.285e-05/0.5849, allocations: 11.94 kB / 0.7418 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.5849, allocations: 3.953 kB / 0.7418 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.585, allocations: 4 kB / 0.7418 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007057/0.5857, allocations: 448.1 kB / 0.7422 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002012/0.5859, allocations: 160.2 kB / 0.7424 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.206e-05/0.586, allocations: 8 kB / 0.7424 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/0.5861, allocations: 23.97 kB / 0.7424 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.538e-05/0.5862, allocations: 19.94 kB / 0.7424 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.714e-05/0.5862, allocations: 15.98 kB / 0.7424 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006752/0.5869, allocations: 0.5732 MB / 0.743 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5869, allocations: 4 kB / 0.743 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003956/0.5873, allocations: 107.9 kB / 0.7431 GB, free: 11.41 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$whenCondition4,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,$whenCondition3,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,$whenCondition2,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$whenCondition1,timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled) * Number of discrete states: 10 (timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001078/0.5884, allocations: 498.6 kB / 0.7436 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007057/0.5891, allocations: 391 kB / 0.744 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.802e-06/0.5892, allocations: 3.938 kB / 0.744 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002234/0.5894, allocations: 107.8 kB / 0.7441 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007594/0.5902, allocations: 192.7 kB / 0.7442 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/0.5918, allocations: 1.138 MB / 0.7454 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006002/0.5924, allocations: 0.9327 MB / 0.7463 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002561/0.5926, allocations: 108.8 kB / 0.7464 GB, free: 8.188 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.5928, allocations: 59.42 kB / 0.7464 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.5928, allocations: 0 / 0.7464 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of Templates: time 0.01375/0.6065, allocations: 6.771 MB / 0.753 GB, free: 1.457 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe 2>&1) Environment - environmentSimulation: