Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.667/1.667, allocations: 285.4 MB / 298 MB, free: 6.023 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001068/0.001068, allocations: 176.9 kB / 366.4 MB, free: 2.09 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.897/1.897, allocations: 205.1 MB / 0.6248 GB, free: 7.762 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001054/0.001054, allocations: 91.64 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.856e-05/4.87e-05, allocations: 4 kB / 0.8583 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6806/0.6807, allocations: 115.3 MB / 0.9709 GB, free: 77.83 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1802/0.861, allocations: 141.4 MB / 1.109 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001877/0.8612, allocations: 78.95 kB / 1.109 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.06191/0.9231, allocations: 23.12 MB / 1.132 GB, free: 3.297 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.363e-06/0.9232, allocations: 0 / 1.132 GB, free: 3.297 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.968e-05/0.9232, allocations: 23.92 kB / 1.132 GB, free: 3.273 MB / 0.7292 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.001322/0.9246, allocations: 0.7668 MB / 1.132 GB, free: 2.461 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.9246, allocations: 8.031 kB / 1.132 GB, free: 2.453 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002386/0.9249, allocations: 75.06 kB / 1.133 GB, free: 2.379 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00156/0.9264, allocations: 0.6865 MB / 1.133 GB, free: 1.652 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.483e-05/0.9265, allocations: 12.88 kB / 1.133 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.033e-05/0.9265, allocations: 19.98 kB / 1.133 GB, free: 1.621 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003205/0.9269, allocations: 197.8 kB / 1.133 GB, free: 1.406 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.9269, allocations: 0 / 1.133 GB, free: 1.406 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.139e-05/0.9269, allocations: 3.984 kB / 1.133 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.9269, allocations: 4 kB / 1.133 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001914/0.9271, allocations: 103.9 kB / 1.134 GB, free: 1.297 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001588/0.9287, allocations: 1.125 MB / 1.135 GB, free: 112 kB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003851/0.9291, allocations: 265.8 kB / 1.135 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/0.9293, allocations: 100.4 kB / 1.135 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.9293, allocations: 7.891 kB / 1.135 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003062/0.9296, allocations: 219.5 kB / 1.135 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=25): time 2.054e-06/0.9296, allocations: 0 / 1.135 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25): time 0.0006365/0.9303, allocations: 343 kB / 1.136 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.918e-05/0.9304, allocations: 170.2 kB / 1.136 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001409/0.9318, allocations: 0.9454 MB / 1.137 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.644e-05/0.9318, allocations: 41.69 kB / 1.137 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002658/0.9321, allocations: 288.8 kB / 1.137 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.971e-05/0.9322, allocations: 67.16 kB / 1.137 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.011e-05/0.9323, allocations: 16 kB / 1.137 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.9324, allocations: 330 kB / 1.137 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003967/0.9328, allocations: 245.5 kB / 1.138 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004303/0.9332, allocations: 336.3 kB / 1.138 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004239/0.9337, allocations: 279.9 kB / 1.138 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.9337, allocations: 0 / 1.138 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001152/0.9348, allocations: 0.738 MB / 1.139 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.9349, allocations: 4 kB / 1.139 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.9349, allocations: 4 kB / 1.139 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/0.9349, allocations: 4 kB / 1.139 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000428/0.9354, allocations: 119.9 kB / 1.139 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.9354, allocations: 8 kB / 1.139 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003228/0.9357, allocations: 51.67 kB / 1.139 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.366e-05/0.9358, allocations: 31.98 kB / 1.139 GB, free: 11.37 MB / 0.7448 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 ($whenCondition5,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition4,$PRE.timTabLinHol.tab.nextTimeEvent,$whenCondition3,$PRE.timTabLinDer.tab.nextTimeEvent,$whenCondition2,$PRE.timTabCon.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEvent,$PRE.timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,$PRE.timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001527/0.936, allocations: 154.5 kB / 1.139 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/0.9361, allocations: 75 kB / 1.139 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006629/0.9368, allocations: 396.8 kB / 1.14 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/0.9368, allocations: 4 kB / 1.14 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.9368, allocations: 3.953 kB / 1.14 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.9368, allocations: 4 kB / 1.14 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005323/0.9373, allocations: 485.1 kB / 1.14 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/0.9374, allocations: 6.188 kB / 1.14 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.636e-05/0.9375, allocations: 27.92 kB / 1.14 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.9375, allocations: 4 kB / 1.14 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.536e-05/0.9375, allocations: 9.219 kB / 1.14 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.9375, allocations: 4 kB / 1.14 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.9375, allocations: 4 kB / 1.14 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000635/0.9382, allocations: 463.3 kB / 1.141 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002406/0.9384, allocations: 176 kB / 1.141 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.762e-05/0.9385, allocations: 8 kB / 1.141 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/0.9387, allocations: 23.97 kB / 1.141 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.207e-05/0.9388, allocations: 23.97 kB / 1.141 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.419e-05/0.9388, allocations: 12 kB / 1.141 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0008192/0.9397, allocations: 0.6124 MB / 1.141 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.3e-07/0.9397, allocations: 0 / 1.141 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005761/0.9403, allocations: 151.9 kB / 1.142 GB, free: 8.641 MB / 0.7448 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.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001054/0.9413, allocations: 455.8 kB / 1.142 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006513/0.942, allocations: 407.7 kB / 1.142 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.942, allocations: 0 / 1.142 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001892/0.9422, allocations: 118.8 kB / 1.143 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008448/0.943, allocations: 196.2 kB / 1.143 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001623/0.9447, allocations: 0.8976 MB / 1.144 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007089/0.9454, allocations: 0.9477 MB / 1.145 GB, free: 5.75 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003955/0.9458, allocations: 121.4 kB / 1.145 GB, free: 5.648 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001636/0.946, allocations: 55.42 kB / 1.145 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of SimCode: time 4.11e-07/0.946, allocations: 0 / 1.145 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of Templates: time 0.01565/0.9617, allocations: 7.699 MB / 1.152 GB, free: 14 MB / 0.7605 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe 2>&1)