Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.145/2.145, allocations: 251.1 MB / 266.7 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001414/0.001414, allocations: 184.7 kB / 326.2 MB, free: 2.859 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.64/2.64, allocations: 205.4 MB / 0.5772 GB, free: 21.16 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009259/0.0009254, allocations: 91.61 kB / 0.6817 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004591/0.0004593, allocations: 11.94 kB / 0.7957 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2063/0.2068, allocations: 106.3 MB / 0.8995 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2365/0.4433, allocations: 135 MB / 1.031 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003192/0.4437, allocations: 91.94 kB / 1.031 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1026/0.5463, allocations: 22.85 MB / 1.054 GB, free: 3.859 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.535e-06/0.5463, allocations: 0 / 1.054 GB, free: 3.859 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.868e-05/0.5464, allocations: 15.94 kB / 1.054 GB, free: 3.844 MB / 0.698 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.002497/0.549, allocations: 0.9124 MB / 1.055 GB, free: 2.875 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.549, allocations: 12.03 kB / 1.055 GB, free: 2.863 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003066/0.5493, allocations: 68.09 kB / 1.055 GB, free: 2.797 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002249/0.5516, allocations: 0.641 MB / 1.055 GB, free: 2.113 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.141e-05/0.5517, allocations: 8.375 kB / 1.055 GB, free: 2.105 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.535e-05/0.5518, allocations: 16.36 kB / 1.055 GB, free: 2.09 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006612/0.5524, allocations: 212.2 kB / 1.056 GB, free: 1.863 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.5525, allocations: 192 / 1.056 GB, free: 1.863 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.62e-05/0.5525, allocations: 11.94 kB / 1.056 GB, free: 1.852 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.5525, allocations: 3.938 kB / 1.056 GB, free: 1.848 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004654/0.553, allocations: 111.9 kB / 1.056 GB, free: 1.738 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002374/0.5554, allocations: 1.091 MB / 1.057 GB, free: 0.582 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001094/0.5565, allocations: 288.9 kB / 1.057 GB, free: 260 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000407/0.557, allocations: 120.2 kB / 1.057 GB, free: 124 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.557, allocations: 0 / 1.057 GB, free: 124 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.6104/1.167, allocations: 221.5 kB / 1.057 GB, free: 147.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=25): time 3.777e-06/1.168, allocations: 0 / 1.057 GB, free: 147.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=25): time 0.001823/1.169, allocations: 441.1 kB / 1.058 GB, free: 147 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.775e-05/1.169, allocations: 165.1 kB / 1.058 GB, free: 146.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002349/1.172, allocations: 1.01 MB / 1.059 GB, free: 146.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.157e-05/1.172, allocations: 33.58 kB / 1.059 GB, free: 146.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002723/1.172, allocations: 286.2 kB / 1.059 GB, free: 146.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/1.172, allocations: 78.98 kB / 1.059 GB, free: 146.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.014e-05/1.172, allocations: 10 kB / 1.059 GB, free: 146.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001363/1.173, allocations: 392.6 kB / 1.06 GB, free: 146.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007379/1.173, allocations: 253.8 kB / 1.06 GB, free: 146.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007775/1.174, allocations: 347.2 kB / 1.06 GB, free: 146.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008514/1.175, allocations: 283.8 kB / 1.061 GB, free: 146.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/1.175, allocations: 0 / 1.061 GB, free: 146.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.002164/1.177, allocations: 0.7587 MB / 1.061 GB, free: 146.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.798e-05/1.177, allocations: 5.75 kB / 1.061 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/1.177, allocations: 2.875 kB / 1.061 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.891e-05/1.177, allocations: 9.188 kB / 1.061 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007787/1.178, allocations: 109.9 kB / 1.061 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.795e-05/1.178, allocations: 8.031 kB / 1.061 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006848/1.179, allocations: 46.14 kB / 1.061 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/1.179, allocations: 41 kB / 1.061 GB, free: 146.1 MB / 0.698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005245/1.18, allocations: 272.2 kB / 1.062 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001661/1.18, allocations: 72.39 kB / 1.062 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/1.181, allocations: 399.7 kB / 1.062 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/1.181, allocations: 2.812 kB / 1.062 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.565e-06/1.181, allocations: 3 kB / 1.062 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/1.181, allocations: 4.641 kB / 1.062 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007631/1.182, allocations: 483.7 kB / 1.063 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/1.182, allocations: 2.812 kB / 1.063 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001881/1.182, allocations: 32.53 kB / 1.063 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.775e-06/1.182, allocations: 6.031 kB / 1.063 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.902e-05/1.182, allocations: 8.5 kB / 1.063 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.552e-06/1.182, allocations: 3.484 kB / 1.063 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/1.182, allocations: 2.844 kB / 1.063 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00124/1.183, allocations: 423.4 kB / 1.063 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002623/1.184, allocations: 163.7 kB / 1.063 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001375/1.184, allocations: 13.12 kB / 1.063 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003697/1.184, allocations: 17.05 kB / 1.063 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.483e-05/1.184, allocations: 30.8 kB / 1.063 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-05/1.184, allocations: 13.89 kB / 1.063 GB, free: 145.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001301/1.186, allocations: 0.5931 MB / 1.064 GB, free: 145.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.21e-07/1.186, allocations: 0 / 1.064 GB, free: 145.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009218/1.187, allocations: 134.3 kB / 1.064 GB, free: 145.3 MB / 0.698 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) * Number of clocked states: 0 () * 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.001408/1.188, allocations: 0.4896 MB / 1.065 GB, free: 145.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001489/1.19, allocations: 434.2 kB / 1.065 GB, free: 145.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/1.19, allocations: 3.609 kB / 1.065 GB, free: 145.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005333/1.19, allocations: 126.1 kB / 1.065 GB, free: 145.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001664/1.192, allocations: 198.4 kB / 1.065 GB, free: 145.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002999/1.195, allocations: 1.215 MB / 1.066 GB, free: 144.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006373/1.196, allocations: 0.9241 MB / 1.067 GB, free: 144 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006541/1.196, allocations: 112.8 kB / 1.067 GB, free: 144 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002613/1.197, allocations: 60.14 kB / 1.067 GB, free: 144 MB / 0.698 GB Notification: Performance of SimCode: time 1.283e-06/1.197, allocations: 0.75 kB / 1.067 GB, free: 144 MB / 0.698 GB Notification: Performance of Templates: time 0.02759/1.224, allocations: 7.356 MB / 1.075 GB, free: 143.4 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe 2>&1)