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.001357/0.001357, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001417/0.001417, allocations: 187.9 kB / 16.13 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.733/1.733, allocations: 205.1 MB / 222 MB, free: 4.766 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.676/1.676, allocations: 251.6 MB / 0.5088 GB, free: 3.398 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.001594/0.001595, allocations: 63.91 kB / 0.6216 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6541/0.6557, allocations: 104.7 MB / 0.7238 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable): time 0.007079/0.6628, allocations: 2.532 MB / 0.7263 GB, free: 10.6 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004305/0.6672, allocations: 1.275 MB / 0.7276 GB, free: 9.312 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004266/0.6677, allocations: 11.88 kB / 0.7276 GB, free: 9.301 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00135/0.6691, allocations: 303.2 kB / 0.7279 GB, free: 9.004 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001076/0.6702, allocations: 295 kB / 0.7281 GB, free: 8.715 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001696/0.6719, allocations: 330.2 kB / 0.7285 GB, free: 8.398 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001366/0.6733, allocations: 0.6231 MB / 0.7291 GB, free: 7.773 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003348/0.6737, allocations: 73.05 kB / 0.7291 GB, free: 7.699 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008811/0.6746, allocations: 262.7 kB / 0.7294 GB, free: 7.441 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007707/0.6754, allocations: 294.8 kB / 0.7297 GB, free: 7.152 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001134/0.6755, allocations: 8 kB / 0.7297 GB, free: 7.145 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000321/0.6758, allocations: 59.91 kB / 0.7297 GB, free: 7.086 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003297/0.6762, allocations: 179.3 kB / 0.7299 GB, free: 6.91 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003951/0.6766, allocations: 234.3 kB / 0.7301 GB, free: 6.68 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00114/0.6778, allocations: 0.6751 MB / 0.7308 GB, free: 6.004 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.6778, allocations: 0 / 0.7308 GB, free: 6.004 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.944e-06/0.6778, allocations: 0 / 0.7308 GB, free: 6.004 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.897e-05/0.6778, allocations: 0 / 0.7308 GB, free: 6.004 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.00349/0.6814, allocations: 0.964 MB / 0.7317 GB, free: 4.988 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 7.091e-05/0.6814, allocations: 8.031 kB / 0.7317 GB, free: 4.98 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004112/0.6819, allocations: 72 kB / 0.7318 GB, free: 4.91 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002021/0.6839, allocations: 0.5859 MB / 0.7324 GB, free: 4.285 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.248e-05/0.684, allocations: 12.38 kB / 0.7324 GB, free: 4.273 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.766e-05/0.6841, allocations: 16.11 kB / 0.7324 GB, free: 4.258 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007641/0.6849, allocations: 201.8 kB / 0.7326 GB, free: 4.039 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.6849, allocations: 0 / 0.7326 GB, free: 4.039 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.734e-05/0.6849, allocations: 3.984 kB / 0.7326 GB, free: 4.035 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/0.685, allocations: 4 kB / 0.7326 GB, free: 4.031 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005044/0.6855, allocations: 107.8 kB / 0.7327 GB, free: 3.926 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002303/0.6878, allocations: 1.028 MB / 0.7337 GB, free: 2.832 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/0.6889, allocations: 277 kB / 0.734 GB, free: 2.516 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003988/0.6894, allocations: 104.2 kB / 0.7341 GB, free: 2.398 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.646e-05/0.6894, allocations: 12 kB / 0.7341 GB, free: 2.387 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008449/0.6903, allocations: 212.4 kB / 0.7343 GB, free: 2.152 MB / 0.545 GB Notification: Performance of pre-optimization done (n=25): time 3.537e-06/0.6903, allocations: 4 kB / 0.7343 GB, free: 2.148 MB / 0.545 GB Notification: Performance of matching and sorting (n=25): time 0.00187/0.6922, allocations: 416.5 kB / 0.7347 GB, free: 1.734 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001409/0.6924, allocations: 158.2 kB / 0.7348 GB, free: 1.543 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002772/0.6952, allocations: 1.004 MB / 0.7358 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.788e-05/0.6952, allocations: 33.7 kB / 0.7358 GB, free: 496 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004113/0.6957, allocations: 288.8 kB / 0.7361 GB, free: 204 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001875/0.6959, allocations: 79.08 kB / 0.7362 GB, free: 124 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004463/0.6963, allocations: 138.3 kB / 0.7363 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0003341/0.6967, allocations: 390.8 kB / 0.7367 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007915/0.6975, allocations: 205.2 kB / 0.7369 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008771/0.6984, allocations: 304.3 kB / 0.7372 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001366/0.6998, allocations: 410.3 kB / 0.7376 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.6998, allocations: 0 / 0.7376 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.002325/0.7022, allocations: 0.6652 MB / 0.7382 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.869e-05/0.7022, allocations: 10.03 kB / 0.7382 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/0.7023, allocations: 4 kB / 0.7382 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.643e-05/0.7023, allocations: 4 kB / 0.7382 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008549/0.7032, allocations: 115.8 kB / 0.7384 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.308e-05/0.7032, allocations: 11.94 kB / 0.7384 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006029/0.7038, allocations: 39.67 kB / 0.7384 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.932e-05/0.704, allocations: 27.98 kB / 0.7384 GB, free: 13.76 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 ($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.0006911/0.7047, allocations: 275.3 kB / 0.7387 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002582/0.705, allocations: 79.14 kB / 0.7388 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002628/0.7052, allocations: 65.59 kB / 0.7388 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.7053, allocations: 4 kB / 0.7388 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.57e-05/0.7053, allocations: 3.938 kB / 0.7388 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.749e-06/0.7053, allocations: 0 / 0.7388 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008969/0.7062, allocations: 457.1 kB / 0.7393 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/0.7063, allocations: 4 kB / 0.7393 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000134/0.7064, allocations: 19.94 kB / 0.7393 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/0.7064, allocations: 0 / 0.7393 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.821e-05/0.7065, allocations: 11.98 kB / 0.7393 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.077e-06/0.7065, allocations: 4 kB / 0.7393 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-06/0.7065, allocations: 7.938 kB / 0.7393 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001483/0.708, allocations: 387.4 kB / 0.7397 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004171/0.7085, allocations: 156.2 kB / 0.7398 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002075/0.7087, allocations: 12 kB / 0.7399 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004419/0.7092, allocations: 15.98 kB / 0.7399 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001554/0.7093, allocations: 19.91 kB / 0.7399 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.818e-05/0.7094, allocations: 23.98 kB / 0.7399 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001751/0.7112, allocations: 0.5693 MB / 0.7405 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.01e-07/0.7112, allocations: 3.938 kB / 0.7405 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009291/0.7122, allocations: 112 kB / 0.7406 GB, free: 11.46 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 (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.002066/0.7143, allocations: 480.2 kB / 0.741 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001543/0.7158, allocations: 403.8 kB / 0.7414 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.7158, allocations: 0 / 0.7414 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004863/0.7163, allocations: 107.8 kB / 0.7415 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001803/0.7182, allocations: 202.1 kB / 0.7417 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003289/0.7215, allocations: 1.2 MB / 0.7429 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001087/0.7226, allocations: 0.9209 MB / 0.7438 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006561/0.7233, allocations: 108.8 kB / 0.7439 GB, free: 8.176 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002608/0.7235, allocations: 51.42 kB / 0.7439 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of SimCode: time 9.91e-07/0.7236, allocations: 0 / 0.7439 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of Templates: time 0.02597/0.7495, allocations: 7.067 MB / 0.7508 GB, free: 1.152 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.makefile (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)