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.001673/0.001674, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002336/0.002336, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.529/1.529, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.075/3.075, allocations: 472.6 MB / 0.7451 GB, free: 4.785 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 69.25 kB / 0.912 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.3551, allocations: 159.9 MB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.004142/0.3593, allocations: 2.474 MB / 1.071 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002908/0.3623, allocations: 1.578 MB / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002115/0.3625, allocations: 11.94 kB / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0006267/0.3632, allocations: 330.8 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005813/0.3638, allocations: 322.7 kB / 1.073 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.3648, allocations: 457.3 kB / 1.073 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000751/0.3655, allocations: 0.7012 MB / 1.074 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002449/0.3658, allocations: 77.72 kB / 1.074 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004083/0.3662, allocations: 318.7 kB / 1.074 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003667/0.3666, allocations: 322.7 kB / 1.075 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.528e-05/0.3666, allocations: 32 kB / 1.075 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000245/0.3669, allocations: 87.95 kB / 1.075 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001974/0.3671, allocations: 187.3 kB / 1.075 GB, free: 3.598 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002438/0.3674, allocations: 274.1 kB / 1.075 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006409/0.368, allocations: 0.732 MB / 1.076 GB, free: 2.594 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.368, allocations: 7.984 kB / 1.076 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.994e-06/0.368, allocations: 0 / 1.076 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.127e-06/0.368, allocations: 0 / 1.076 GB, free: 2.586 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.001427/0.3695, allocations: 0.9911 MB / 1.077 GB, free: 1.543 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.3695, allocations: 12.03 kB / 1.077 GB, free: 1.531 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001388/0.3697, allocations: 72 kB / 1.077 GB, free: 1.461 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008406/0.3705, allocations: 0.6249 MB / 1.078 GB, free: 0.793 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.3705, allocations: 20.36 kB / 1.078 GB, free: 0.7734 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.252e-05/0.3706, allocations: 15.94 kB / 1.078 GB, free: 0.7578 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003828/0.371, allocations: 194.5 kB / 1.078 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.371, allocations: 3.938 kB / 1.078 GB, free: 0.543 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.139e-05/0.371, allocations: 4 kB / 1.078 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.371, allocations: 4 kB / 1.078 GB, free: 0.5352 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000244/0.3713, allocations: 99.88 kB / 1.078 GB, free: 448 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001258/0.3726, allocations: 1.056 MB / 1.079 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005694/0.3731, allocations: 273 kB / 1.079 GB, free: 15 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002068/0.3734, allocations: 108.2 kB / 1.079 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.477e-05/0.3734, allocations: 15.98 kB / 1.079 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003972/0.3738, allocations: 225 kB / 1.079 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=25): time 1.432e-06/0.3738, allocations: 0 / 1.079 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of matching and sorting (n=25): time 0.0009044/0.3747, allocations: 425.7 kB / 1.08 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.632e-05/0.3748, allocations: 166.1 kB / 1.08 GB, free: 14 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00114/0.376, allocations: 1.036 MB / 1.081 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.326e-05/0.376, allocations: 33.7 kB / 1.081 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002423/0.3763, allocations: 288.9 kB / 1.081 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.295e-05/0.3764, allocations: 79.02 kB / 1.081 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001808/0.3765, allocations: 146.1 kB / 1.082 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.3767, allocations: 330 kB / 1.082 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003694/0.3771, allocations: 213.2 kB / 1.082 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004046/0.3775, allocations: 303 kB / 1.082 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006411/0.3781, allocations: 408.2 kB / 1.083 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.3781, allocations: 4 kB / 1.083 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001052/0.3792, allocations: 0.6712 MB / 1.083 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.3792, allocations: 8 kB / 1.083 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.3792, allocations: 4 kB / 1.083 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.3793, allocations: 4 kB / 1.083 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003815/0.3797, allocations: 115.8 kB / 1.084 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.3797, allocations: 7.938 kB / 1.084 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00025/0.3799, allocations: 47.66 kB / 1.084 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.707e-05/0.38, allocations: 24.16 kB / 1.084 GB, free: 10.23 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.0002764/0.3803, allocations: 274.2 kB / 1.084 GB, free: 9.953 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.795e-05/0.3804, allocations: 71.06 kB / 1.084 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001318/0.3805, allocations: 73.88 kB / 1.084 GB, free: 9.805 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.3805, allocations: 4 kB / 1.084 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.592e-05/0.3805, allocations: 7.938 kB / 1.084 GB, free: 9.793 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.3806, allocations: 0 / 1.084 GB, free: 9.793 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005136/0.3811, allocations: 465.1 kB / 1.085 GB, free: 9.289 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.3811, allocations: 0 / 1.085 GB, free: 9.289 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.494e-05/0.3812, allocations: 27.92 kB / 1.085 GB, free: 9.262 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.3812, allocations: 4 kB / 1.085 GB, free: 9.258 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.294e-05/0.3812, allocations: 12.05 kB / 1.085 GB, free: 9.246 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.3812, allocations: 4 kB / 1.085 GB, free: 9.242 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.3812, allocations: 7.938 kB / 1.085 GB, free: 9.234 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006558/0.3819, allocations: 384.4 kB / 1.085 GB, free: 8.828 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001602/0.382, allocations: 168.1 kB / 1.085 GB, free: 8.645 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.249e-05/0.3821, allocations: 11.94 kB / 1.085 GB, free: 8.633 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.3823, allocations: 15.98 kB / 1.085 GB, free: 8.617 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.36e-05/0.3824, allocations: 27.91 kB / 1.085 GB, free: 8.59 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.362e-05/0.3824, allocations: 15.98 kB / 1.085 GB, free: 8.574 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0006702/0.3831, allocations: 0.6044 MB / 1.086 GB, free: 7.973 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.333e-06/0.3831, allocations: 0 / 1.086 GB, free: 7.973 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003917/0.3835, allocations: 115.9 kB / 1.086 GB, free: 7.859 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.001184/0.3847, allocations: 483.6 kB / 1.086 GB, free: 7.559 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000724/0.3854, allocations: 413.8 kB / 1.087 GB, free: 7.16 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3854, allocations: 0 / 1.087 GB, free: 7.16 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002444/0.3857, allocations: 108.2 kB / 1.087 GB, free: 7.055 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008472/0.3865, allocations: 220.2 kB / 1.087 GB, free: 6.863 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/0.388, allocations: 1.111 MB / 1.088 GB, free: 5.711 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004486/0.3884, allocations: 0.9324 MB / 1.089 GB, free: 4.75 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000234/0.3887, allocations: 104.9 kB / 1.089 GB, free: 4.645 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.3888, allocations: 59.42 kB / 1.089 GB, free: 4.59 MB / 0.8419 GB Notification: Performance of SimCode: time 7.22e-07/0.3888, allocations: 0 / 1.089 GB, free: 4.59 MB / 0.8419 GB Notification: Performance of Templates: time 0.01291/0.4017, allocations: 7.757 MB / 1.097 GB, free: 12.91 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)