Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.OBC.CDL.Reals.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008545/0.0008548, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.00615/0.00615, allocations: 172.3 kB / 16.26 MB, free: 6.613 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 / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.087/3.087, allocations: 473.4 MB / 0.7469 GB, free: 6.129 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003678/0.000368, allocations: 9 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3763/0.3767, allocations: 162.2 MB / 1.074 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.002808/0.3795, allocations: 2.147 MB / 1.076 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002596/0.3821, allocations: 1.548 MB / 1.078 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001666/0.3823, allocations: 7.938 kB / 1.078 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005974/0.3829, allocations: 307.1 kB / 1.078 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005414/0.3835, allocations: 306.9 kB / 1.078 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009251/0.3844, allocations: 414.1 kB / 1.079 GB, free: 2.828 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0007047/0.3851, allocations: 0.662 MB / 1.079 GB, free: 2.164 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001976/0.3853, allocations: 73.73 kB / 1.079 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003867/0.3857, allocations: 294.5 kB / 1.08 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003479/0.3861, allocations: 306.8 kB / 1.08 GB, free: 1.5 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.536e-05/0.3862, allocations: 12 kB / 1.08 GB, free: 1.488 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001808/0.3863, allocations: 71.89 kB / 1.08 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001823/0.3865, allocations: 175.3 kB / 1.08 GB, free: 1.246 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002311/0.3868, allocations: 275.8 kB / 1.081 GB, free: 0.9688 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006653/0.3874, allocations: 0.7045 MB / 1.081 GB, free: 268 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.3875, allocations: 0 / 1.081 GB, free: 268 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.863e-06/0.3875, allocations: 0 / 1.081 GB, free: 268 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.548e-06/0.3875, allocations: 0 / 1.081 GB, free: 268 kB / 0.8262 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.001403/0.3889, allocations: 0.8945 MB / 1.082 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.3889, allocations: 8.031 kB / 1.082 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001287/0.3891, allocations: 79.98 kB / 1.082 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009031/0.39, allocations: 0.625 MB / 1.083 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.822e-05/0.39, allocations: 12.38 kB / 1.083 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.497e-05/0.3901, allocations: 19.92 kB / 1.083 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003892/0.3905, allocations: 191.8 kB / 1.083 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.3905, allocations: 3.938 kB / 1.083 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.465e-05/0.3905, allocations: 11.98 kB / 1.083 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.3905, allocations: 0 / 1.083 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000246/0.3908, allocations: 103.9 kB / 1.083 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001364/0.3922, allocations: 1.056 MB / 1.084 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005944/0.3928, allocations: 277 kB / 1.084 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002147/0.393, allocations: 108.2 kB / 1.085 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.435e-05/0.393, allocations: 4 kB / 1.085 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003988/0.3934, allocations: 236.5 kB / 1.085 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=25): time 1.613e-06/0.3935, allocations: 0 / 1.085 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of matching and sorting (n=25): time 0.0009418/0.3944, allocations: 421.5 kB / 1.085 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.679e-05/0.3945, allocations: 170.1 kB / 1.085 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001247/0.3958, allocations: 1.032 MB / 1.086 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.646e-05/0.3958, allocations: 41.69 kB / 1.086 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002451/0.3961, allocations: 284.9 kB / 1.087 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.356e-05/0.3961, allocations: 79.08 kB / 1.087 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.316e-05/0.3962, allocations: 69.67 kB / 1.087 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.3964, allocations: 330 kB / 1.087 GB, free: 9.91 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003806/0.3968, allocations: 205.2 kB / 1.087 GB, free: 9.711 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004362/0.3972, allocations: 307 kB / 1.088 GB, free: 9.379 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006638/0.3979, allocations: 410.4 kB / 1.088 GB, free: 8.953 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.3979, allocations: 0 / 1.088 GB, free: 8.953 MB / 0.8419 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001097/0.399, allocations: 0.6706 MB / 1.089 GB, free: 8.281 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.399, allocations: 9.875 kB / 1.089 GB, free: 8.273 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.399, allocations: 0 / 1.089 GB, free: 8.273 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.3991, allocations: 8 kB / 1.089 GB, free: 8.266 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003968/0.3995, allocations: 119.8 kB / 1.089 GB, free: 8.148 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.276e-05/0.3995, allocations: 12.11 kB / 1.089 GB, free: 8.137 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000307/0.3998, allocations: 55.81 kB / 1.089 GB, free: 8.082 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.161e-05/0.3999, allocations: 27.94 kB / 1.089 GB, free: 8.055 MB / 0.8419 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 ($PRE.timTabLin.tab.nextTimeEvent,$whenCondition5,$PRE.timTabLinHol.tab.nextTimeEvent,$whenCondition4,$PRE.timTabLinDer.tab.nextTimeEvent,$whenCondition3,$PRE.timTabCon.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLinCon.tab.nextTimeEvent,$whenCondition1,timTabLinCon.tab.nextTimeEventScaled,$PRE.timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$PRE.timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003083/0.4002, allocations: 269.6 kB / 1.089 GB, free: 7.785 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.799e-05/0.4003, allocations: 71.06 kB / 1.089 GB, free: 7.715 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001213/0.4004, allocations: 77.88 kB / 1.089 GB, free: 7.633 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.533e-06/0.4004, allocations: 4 kB / 1.089 GB, free: 7.629 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.4004, allocations: 3.938 kB / 1.089 GB, free: 7.625 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.4004, allocations: 0 / 1.089 GB, free: 7.625 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004708/0.4009, allocations: 461.1 kB / 1.09 GB, free: 7.125 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.4009, allocations: 8 kB / 1.09 GB, free: 7.117 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.781e-05/0.401, allocations: 27.92 kB / 1.09 GB, free: 7.09 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.401, allocations: 0 / 1.09 GB, free: 7.09 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.942e-05/0.401, allocations: 7.984 kB / 1.09 GB, free: 7.082 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.4011, allocations: 4 kB / 1.09 GB, free: 7.078 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.4011, allocations: 3.938 kB / 1.09 GB, free: 7.074 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006514/0.4017, allocations: 393.2 kB / 1.09 GB, free: 6.66 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001683/0.4019, allocations: 164.1 kB / 1.09 GB, free: 6.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.282e-05/0.402, allocations: 11.98 kB / 1.09 GB, free: 6.469 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.4022, allocations: 23.98 kB / 1.09 GB, free: 6.445 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.794e-05/0.4022, allocations: 27.91 kB / 1.09 GB, free: 6.418 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.432e-05/0.4023, allocations: 19.92 kB / 1.09 GB, free: 6.398 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0007248/0.403, allocations: 0.6044 MB / 1.091 GB, free: 5.797 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.403, allocations: 0 / 1.091 GB, free: 5.797 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004112/0.4034, allocations: 111.9 kB / 1.091 GB, free: 5.688 MB / 0.8419 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 (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.001198/0.4046, allocations: 487.2 kB / 1.092 GB, free: 5.387 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007476/0.4054, allocations: 399.6 kB / 1.092 GB, free: 4.996 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.4054, allocations: 0 / 1.092 GB, free: 4.996 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.00025/0.4056, allocations: 112.1 kB / 1.092 GB, free: 4.887 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.4067, allocations: 194.9 kB / 1.092 GB, free: 4.699 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/0.4083, allocations: 1.233 MB / 1.093 GB, free: 3.426 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005323/0.4089, allocations: 0.9288 MB / 1.094 GB, free: 2.469 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002746/0.4091, allocations: 116.9 kB / 1.094 GB, free: 2.352 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.4093, allocations: 59.42 kB / 1.094 GB, free: 2.297 MB / 0.8419 GB Notification: Performance of SimCode: time 3.71e-07/0.4093, allocations: 0 / 1.094 GB, free: 2.297 MB / 0.8419 GB Notification: Performance of Templates: time 0.01366/0.4229, allocations: 7.32 MB / 1.102 GB, free: 11.05 MB / 0.8575 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe 2>&1)