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.001443/0.001443, allocations: 108 kB / 15.61 MB, free: 152 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.001382/0.001382, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.828/1.828, allocations: 205.1 MB / 222.4 MB, free: 4.574 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.661/1.661, allocations: 251.7 MB / 0.5092 GB, free: 3.082 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.001495/0.001495, allocations: 72.36 kB / 0.6223 GB, free: 1.477 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6574/0.6589, allocations: 104.7 MB / 0.7245 GB, free: 12.89 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable): time 0.004325/0.6633, allocations: 2.479 MB / 0.727 GB, free: 10.39 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002388/0.6657, allocations: 1.291 MB / 0.7282 GB, free: 9.086 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002188/0.666, allocations: 7.938 kB / 0.7282 GB, free: 9.078 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006155/0.6666, allocations: 314.9 kB / 0.7285 GB, free: 8.77 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0006391/0.6673, allocations: 330.7 kB / 0.7288 GB, free: 8.445 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009056/0.6682, allocations: 359.4 kB / 0.7292 GB, free: 8.102 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007409/0.6689, allocations: 0.6583 MB / 0.7298 GB, free: 7.441 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002197/0.6692, allocations: 81.03 kB / 0.7299 GB, free: 7.359 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003893/0.6696, allocations: 282.9 kB / 0.7302 GB, free: 7.082 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004025/0.67, allocations: 302.7 kB / 0.7305 GB, free: 6.785 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.25e-05/0.67, allocations: 28 kB / 0.7305 GB, free: 6.758 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001973/0.6702, allocations: 71.98 kB / 0.7306 GB, free: 6.688 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002007/0.6705, allocations: 187.3 kB / 0.7307 GB, free: 6.504 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002388/0.6707, allocations: 250.3 kB / 0.731 GB, free: 6.258 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007729/0.6715, allocations: 0.6869 MB / 0.7317 GB, free: 5.57 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.6715, allocations: 0 / 0.7317 GB, free: 5.57 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.164e-06/0.6715, allocations: 0 / 0.7317 GB, free: 5.57 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.065e-05/0.6715, allocations: 0 / 0.7317 GB, free: 5.57 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.001594/0.6731, allocations: 0.964 MB / 0.7326 GB, free: 4.555 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/0.6732, allocations: 12.03 kB / 0.7326 GB, free: 4.543 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001513/0.6733, allocations: 72 kB / 0.7327 GB, free: 4.473 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009098/0.6743, allocations: 0.5859 MB / 0.7332 GB, free: 3.848 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.6743, allocations: 8.375 kB / 0.7333 GB, free: 3.84 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.695e-05/0.6743, allocations: 20.11 kB / 0.7333 GB, free: 3.82 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000451/0.6748, allocations: 197.8 kB / 0.7335 GB, free: 3.605 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.6748, allocations: 3.938 kB / 0.7335 GB, free: 3.602 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.945e-05/0.6749, allocations: 15.92 kB / 0.7335 GB, free: 3.586 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.6749, allocations: 0 / 0.7335 GB, free: 3.586 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000267/0.6751, allocations: 99.88 kB / 0.7336 GB, free: 3.488 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001384/0.6765, allocations: 1.024 MB / 0.7346 GB, free: 2.398 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006103/0.6772, allocations: 281 kB / 0.7348 GB, free: 2.078 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000367/0.6775, allocations: 108.2 kB / 0.7349 GB, free: 1.957 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.948e-05/0.6776, allocations: 4 kB / 0.7349 GB, free: 1.953 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005752/0.6782, allocations: 220.4 kB / 0.7352 GB, free: 1.711 MB / 0.545 GB Notification: Performance of pre-optimization done (n=25): time 1.683e-06/0.6782, allocations: 0 / 0.7352 GB, free: 1.711 MB / 0.545 GB Notification: Performance of matching and sorting (n=25): time 0.001077/0.6793, allocations: 425.6 kB / 0.7356 GB, free: 1.289 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001239/0.6794, allocations: 166.2 kB / 0.7357 GB, free: 1.09 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001342/0.6808, allocations: 0.9964 MB / 0.7367 GB, free: 80 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.092e-05/0.6808, allocations: 37.7 kB / 0.7367 GB, free: 36 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003301/0.6811, allocations: 276.9 kB / 0.737 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.964e-05/0.6812, allocations: 75.08 kB / 0.7371 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002344/0.6815, allocations: 142.2 kB / 0.7372 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002864/0.6818, allocations: 394.8 kB / 0.7376 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004081/0.6822, allocations: 205.2 kB / 0.7378 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005072/0.6827, allocations: 299 kB / 0.7381 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007709/0.6835, allocations: 414.6 kB / 0.7385 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.6835, allocations: 4 kB / 0.7385 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001201/0.6847, allocations: 0.6612 MB / 0.7391 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.6848, allocations: 8 kB / 0.7391 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.6848, allocations: 0 / 0.7391 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.586e-05/0.6848, allocations: 8 kB / 0.7391 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004226/0.6853, allocations: 112 kB / 0.7392 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.682e-05/0.6853, allocations: 15.94 kB / 0.7392 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003349/0.6856, allocations: 35.73 kB / 0.7393 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.127e-05/0.6857, allocations: 27.98 kB / 0.7393 GB, free: 13.32 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.0003978/0.6861, allocations: 271.3 kB / 0.7396 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.6862, allocations: 71.14 kB / 0.7396 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001245/0.6864, allocations: 69.58 kB / 0.7397 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.6864, allocations: 7.984 kB / 0.7397 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.417e-05/0.6864, allocations: 7.938 kB / 0.7397 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.6864, allocations: 4 kB / 0.7397 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005725/0.687, allocations: 457.1 kB / 0.7402 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.928e-06/0.687, allocations: 3.984 kB / 0.7402 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.703e-05/0.6871, allocations: 19.94 kB / 0.7402 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.722e-06/0.6871, allocations: 4.125 kB / 0.7402 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.942e-05/0.6871, allocations: 11.98 kB / 0.7402 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.6871, allocations: 7.938 kB / 0.7402 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.6872, allocations: 3.938 kB / 0.7402 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008468/0.688, allocations: 391.4 kB / 0.7406 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002387/0.6883, allocations: 148.2 kB / 0.7407 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001306/0.6884, allocations: 16 kB / 0.7407 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002472/0.6887, allocations: 7.984 kB / 0.7407 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001359/0.6888, allocations: 31.91 kB / 0.7408 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.707e-05/0.6889, allocations: 23.92 kB / 0.7408 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001203/0.6901, allocations: 0.5693 MB / 0.7413 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6901, allocations: 0 / 0.7413 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000584/0.6907, allocations: 104 kB / 0.7414 GB, free: 11.02 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.00144/0.6922, allocations: 483.3 kB / 0.7419 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009242/0.6931, allocations: 420 kB / 0.7423 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.6931, allocations: 4.312 kB / 0.7423 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002903/0.6934, allocations: 104.2 kB / 0.7424 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.6945, allocations: 227.3 kB / 0.7426 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00198/0.6964, allocations: 1.061 MB / 0.7437 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006405/0.6971, allocations: 0.9205 MB / 0.7446 GB, free: 7.957 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004325/0.6975, allocations: 108.8 kB / 0.7447 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001497/0.6977, allocations: 59.42 kB / 0.7447 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of SimCode: time 6.71e-07/0.6977, allocations: 0 / 0.7447 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of Templates: time 0.01963/0.7174, allocations: 7.392 MB / 0.7519 GB, free: 0.5078 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)