Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001406/0.001406, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001633/0.001633, allocations: 194.4 kB / 16.25 MB, free: 6.621 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.566/1.566, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.06/3.06, allocations: 472.6 MB / 0.7448 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 69.81 kB / 0.9116 GB, free: 33.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3774/0.3788, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.00389/0.3827, allocations: 2.509 MB / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002604/0.3853, allocations: 1.571 MB / 1.072 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001746/0.3855, allocations: 7.938 kB / 1.072 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0006368/0.3862, allocations: 311.1 kB / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000565/0.3868, allocations: 299 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009316/0.3877, allocations: 418.2 kB / 1.073 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0008446/0.3885, allocations: 0.7089 MB / 1.073 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002622/0.3888, allocations: 81.73 kB / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004407/0.3893, allocations: 334.5 kB / 1.074 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003201/0.3896, allocations: 330.7 kB / 1.074 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.199e-05/0.3897, allocations: 28 kB / 1.074 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002046/0.3899, allocations: 91.91 kB / 1.074 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001882/0.3901, allocations: 203.3 kB / 1.074 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002274/0.3903, allocations: 270.1 kB / 1.075 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006712/0.391, allocations: 0.7321 MB / 1.075 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.391, allocations: 0 / 1.075 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.553e-06/0.391, allocations: 0 / 1.075 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.162e-05/0.391, allocations: 3.984 kB / 1.075 GB, free: 2.891 MB / 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.001466/0.3925, allocations: 0.9969 MB / 1.076 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.3925, allocations: 8.031 kB / 1.076 GB, free: 1.836 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001347/0.3927, allocations: 72 kB / 1.076 GB, free: 1.766 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008497/0.3935, allocations: 0.6327 MB / 1.077 GB, free: 1.09 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.3936, allocations: 8.375 kB / 1.077 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.015e-05/0.3936, allocations: 19.92 kB / 1.077 GB, free: 1.062 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003974/0.394, allocations: 194.5 kB / 1.077 GB, free: 0.8516 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.394, allocations: 3.938 kB / 1.077 GB, free: 0.8477 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.447e-05/0.3941, allocations: 8 kB / 1.077 GB, free: 0.8398 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.3941, allocations: 4 kB / 1.077 GB, free: 0.8359 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002647/0.3944, allocations: 99.88 kB / 1.077 GB, free: 0.7383 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001445/0.3958, allocations: 1.052 MB / 1.078 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000592/0.3964, allocations: 273 kB / 1.079 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002175/0.3966, allocations: 116.2 kB / 1.079 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.941e-05/0.3967, allocations: 7.984 kB / 1.079 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000428/0.3971, allocations: 229 kB / 1.079 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=25): time 1.803e-06/0.3971, allocations: 0 / 1.079 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of matching and sorting (n=25): time 0.0009722/0.3981, allocations: 421 kB / 1.079 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.3982, allocations: 174.1 kB / 1.08 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001144/0.3994, allocations: 1.028 MB / 1.081 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.672e-05/0.3994, allocations: 37.7 kB / 1.081 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002206/0.3997, allocations: 288.8 kB / 1.081 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.924e-05/0.3997, allocations: 83.08 kB / 1.081 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001805/0.3999, allocations: 142.1 kB / 1.081 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.4001, allocations: 330 kB / 1.081 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003739/0.4004, allocations: 213.2 kB / 1.082 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004111/0.4009, allocations: 303 kB / 1.082 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006322/0.4015, allocations: 413.1 kB / 1.082 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.4015, allocations: 0 / 1.082 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001107/0.4026, allocations: 0.6671 MB / 1.083 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.4027, allocations: 4 kB / 1.083 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.4027, allocations: 4 kB / 1.083 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/0.4027, allocations: 4 kB / 1.083 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004384/0.4031, allocations: 115.8 kB / 1.083 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.497e-05/0.4032, allocations: 7.938 kB / 1.083 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002929/0.4035, allocations: 55.81 kB / 1.083 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.495e-05/0.4035, allocations: 24 kB / 1.083 GB, free: 10.53 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.0003776/0.4039, allocations: 270.3 kB / 1.083 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/0.4041, allocations: 71.06 kB / 1.083 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001493/0.4042, allocations: 77.88 kB / 1.084 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.4042, allocations: 0 / 1.084 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.389e-05/0.4042, allocations: 7.938 kB / 1.084 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.4043, allocations: 0 / 1.084 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005751/0.4048, allocations: 465.1 kB / 1.084 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.4048, allocations: 4 kB / 1.084 GB, free: 9.59 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.873e-05/0.4049, allocations: 23.92 kB / 1.084 GB, free: 9.566 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.4049, allocations: 4 kB / 1.084 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.697e-05/0.405, allocations: 11.98 kB / 1.084 GB, free: 9.551 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.405, allocations: 4 kB / 1.084 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.405, allocations: 3.938 kB / 1.084 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007344/0.4057, allocations: 388.4 kB / 1.084 GB, free: 9.133 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001949/0.4059, allocations: 160.1 kB / 1.085 GB, free: 8.957 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.554e-05/0.406, allocations: 12 kB / 1.085 GB, free: 8.945 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.4062, allocations: 15.98 kB / 1.085 GB, free: 8.93 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.981e-05/0.4063, allocations: 27.84 kB / 1.085 GB, free: 8.902 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.652e-05/0.4063, allocations: 19.98 kB / 1.085 GB, free: 8.883 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0007645/0.4071, allocations: 0.6044 MB / 1.085 GB, free: 8.281 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.11e-07/0.4071, allocations: 3.938 kB / 1.085 GB, free: 8.277 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004847/0.4076, allocations: 108 kB / 1.085 GB, free: 8.172 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.001433/0.409, allocations: 493.2 kB / 1.086 GB, free: 7.867 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009053/0.4099, allocations: 424.5 kB / 1.086 GB, free: 7.457 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.41, allocations: 0 / 1.086 GB, free: 7.457 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002558/0.4102, allocations: 104.1 kB / 1.086 GB, free: 7.355 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001085/0.4113, allocations: 213.4 kB / 1.087 GB, free: 7.164 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002043/0.4134, allocations: 1.236 MB / 1.088 GB, free: 5.887 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005333/0.4139, allocations: 0.9284 MB / 1.089 GB, free: 4.93 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003118/0.4142, allocations: 117.5 kB / 1.089 GB, free: 4.812 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/0.4144, allocations: 63.42 kB / 1.089 GB, free: 4.754 MB / 0.8419 GB Notification: Performance of SimCode: time 6.82e-07/0.4144, allocations: 0 / 1.089 GB, free: 4.754 MB / 0.8419 GB Notification: Performance of Templates: time 0.01387/0.4283, allocations: 7.672 MB / 1.096 GB, free: 13.16 MB / 0.8575 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe 2>&1)