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.0009012/0.0009015, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006582/0.006582, allocations: 170.1 kB / 16.27 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.606/1.606, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.617/1.617, allocations: 252 MB / 0.5105 GB, free: 4.617 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.000578/0.0005781, allocations: 12 kB / 0.6249 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5755/0.5761, allocations: 106.3 MB / 0.7287 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable): time 0.002792/0.5789, allocations: 2.17 MB / 0.7309 GB, free: 9.062 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002058/0.581, allocations: 1.26 MB / 0.7321 GB, free: 7.793 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001587/0.5812, allocations: 11.88 kB / 0.7321 GB, free: 7.781 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005652/0.5818, allocations: 295.2 kB / 0.7324 GB, free: 7.492 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000516/0.5823, allocations: 303 kB / 0.7327 GB, free: 7.195 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007673/0.5831, allocations: 336.6 kB / 0.733 GB, free: 6.871 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000684/0.5838, allocations: 0.6114 MB / 0.7336 GB, free: 6.258 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001978/0.584, allocations: 77.05 kB / 0.7337 GB, free: 6.18 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000324/0.5843, allocations: 258.7 kB / 0.7339 GB, free: 5.926 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003153/0.5846, allocations: 290.7 kB / 0.7342 GB, free: 5.641 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.952e-05/0.5847, allocations: 12 kB / 0.7342 GB, free: 5.629 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001515/0.5848, allocations: 55.98 kB / 0.7343 GB, free: 5.574 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001772/0.585, allocations: 171.3 kB / 0.7344 GB, free: 5.406 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002248/0.5853, allocations: 260 kB / 0.7347 GB, free: 5.145 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006095/0.5859, allocations: 0.6634 MB / 0.7353 GB, free: 4.48 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.5859, allocations: 0 / 0.7353 GB, free: 4.48 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.004e-06/0.5859, allocations: 3.938 kB / 0.7353 GB, free: 4.477 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.996e-06/0.5859, allocations: 0 / 0.7353 GB, free: 4.477 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.00115/0.5871, allocations: 0.8593 MB / 0.7362 GB, free: 3.566 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.5871, allocations: 12.03 kB / 0.7362 GB, free: 3.555 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.5872, allocations: 68.09 kB / 0.7362 GB, free: 3.488 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007429/0.588, allocations: 0.5858 MB / 0.7368 GB, free: 2.863 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.843e-05/0.588, allocations: 16.36 kB / 0.7368 GB, free: 2.848 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.251e-05/0.5881, allocations: 16.12 kB / 0.7368 GB, free: 2.832 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004061/0.5885, allocations: 205.7 kB / 0.737 GB, free: 2.609 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.5885, allocations: 0 / 0.737 GB, free: 2.609 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.173e-05/0.5885, allocations: 4 kB / 0.737 GB, free: 2.605 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.5885, allocations: 4 kB / 0.737 GB, free: 2.602 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002482/0.5888, allocations: 103.9 kB / 0.7371 GB, free: 2.5 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001181/0.59, allocations: 1.02 MB / 0.7381 GB, free: 1.414 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005919/0.5906, allocations: 285 kB / 0.7384 GB, free: 1.09 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002129/0.5908, allocations: 100.2 kB / 0.7385 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.271e-05/0.5909, allocations: 7.984 kB / 0.7385 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004085/0.5913, allocations: 216.6 kB / 0.7387 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of pre-optimization done (n=25): time 3.606e-06/0.5913, allocations: 0 / 0.7387 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of matching and sorting (n=25): time 0.0009117/0.5922, allocations: 429.4 kB / 0.7391 GB, free: 312 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.926e-05/0.5923, allocations: 166.2 kB / 0.7393 GB, free: 108 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001169/0.5935, allocations: 0.9926 MB / 0.7403 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.089e-05/0.5935, allocations: 37.7 kB / 0.7403 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002265/0.5938, allocations: 272.9 kB / 0.7406 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.154e-05/0.5938, allocations: 79.08 kB / 0.7406 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.187e-05/0.5939, allocations: 69.67 kB / 0.7407 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.5941, allocations: 390.8 kB / 0.7411 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000382/0.5945, allocations: 209.2 kB / 0.7413 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004366/0.5949, allocations: 299 kB / 0.7416 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006807/0.5956, allocations: 419.1 kB / 0.742 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.5956, allocations: 0 / 0.742 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001091/0.5967, allocations: 0.6592 MB / 0.7426 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.5968, allocations: 5.719 kB / 0.7426 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.5968, allocations: 4 kB / 0.7426 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.5968, allocations: 7.984 kB / 0.7426 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004093/0.5972, allocations: 116 kB / 0.7427 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/0.5973, allocations: 15.91 kB / 0.7427 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002881/0.5975, allocations: 35.75 kB / 0.7428 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.414e-05/0.5976, allocations: 31.98 kB / 0.7428 GB, free: 12.41 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.0003207/0.5979, allocations: 273.6 kB / 0.7431 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.494e-05/0.598, allocations: 71.06 kB / 0.7431 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001151/0.5982, allocations: 77.52 kB / 0.7432 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/0.5982, allocations: 8 kB / 0.7432 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.5982, allocations: 3.938 kB / 0.7432 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.5982, allocations: 4 kB / 0.7432 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004601/0.5987, allocations: 453.2 kB / 0.7437 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.5987, allocations: 0 / 0.7437 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.471e-05/0.5987, allocations: 23.92 kB / 0.7437 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.5988, allocations: 256 / 0.7437 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.191e-05/0.5988, allocations: 12 kB / 0.7437 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/0.5988, allocations: 7.984 kB / 0.7437 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.5988, allocations: 7.938 kB / 0.7437 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006494/0.5995, allocations: 386.5 kB / 0.7441 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001456/0.5996, allocations: 156.2 kB / 0.7442 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.505e-05/0.5997, allocations: 15.98 kB / 0.7442 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/0.5999, allocations: 23.92 kB / 0.7443 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.343e-05/0.6, allocations: 23.91 kB / 0.7443 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.579e-05/0.6, allocations: 16 kB / 0.7443 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006826/0.6007, allocations: 0.5693 MB / 0.7449 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6007, allocations: 4 kB / 0.7449 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004085/0.6011, allocations: 115.9 kB / 0.745 GB, free: 10.08 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.001127/0.6022, allocations: 473.3 kB / 0.7454 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007291/0.603, allocations: 399.6 kB / 0.7458 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.603, allocations: 7.938 kB / 0.7458 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002342/0.6032, allocations: 104.2 kB / 0.7459 GB, free: 9.297 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/0.6043, allocations: 207.8 kB / 0.7461 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001564/0.6058, allocations: 1.205 MB / 0.7473 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005014/0.6064, allocations: 0.917 MB / 0.7482 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002719/0.6066, allocations: 112.8 kB / 0.7483 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/0.6068, allocations: 51.42 kB / 0.7483 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.6068, allocations: 0 / 0.7483 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of Templates: time 0.01344/0.6202, allocations: 6.961 MB / 0.7551 GB, free: 15.88 MB / 0.5762 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: