Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.575/1.575, allocations: 297.8 MB / 313.7 MB, free: 56 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009449/0.0009449, allocations: 180.5 kB / 384.6 MB, free: 10.79 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 223.2 MB / 0.6626 GB, free: 4.254 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000765/0.000765, allocations: 96.2 kB / 0.7808 GB, free: 50.37 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004106/0.0004107, allocations: 15.98 kB / 0.9088 GB, free: 2.828 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5905/0.5909, allocations: 120.3 MB / 1.026 GB, free: 55.82 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1791/0.77, allocations: 145.2 MB / 1.168 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/0.7704, allocations: 81.31 kB / 1.168 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.06244/0.8328, allocations: 23.8 MB / 1.191 GB, free: 9.07 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.495e-06/0.8329, allocations: 4 kB / 1.191 GB, free: 9.066 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001065/0.833, allocations: 20.16 kB / 1.191 GB, free: 9.047 MB / 0.7605 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.001996/0.835, allocations: 0.9493 MB / 1.192 GB, free: 8.043 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.835, allocations: 8.031 kB / 1.192 GB, free: 8.035 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003125/0.8353, allocations: 79.94 kB / 1.192 GB, free: 7.957 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001591/0.8369, allocations: 0.7263 MB / 1.193 GB, free: 7.188 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.941e-05/0.837, allocations: 12.31 kB / 1.193 GB, free: 7.176 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.18e-05/0.837, allocations: 16.38 kB / 1.193 GB, free: 7.16 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003962/0.8374, allocations: 202.4 kB / 1.193 GB, free: 6.941 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.8375, allocations: 3.938 kB / 1.193 GB, free: 6.938 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.997e-05/0.8375, allocations: 4 kB / 1.193 GB, free: 6.934 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.8375, allocations: 4 kB / 1.193 GB, free: 6.93 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002689/0.8378, allocations: 121.9 kB / 1.194 GB, free: 6.812 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001686/0.8395, allocations: 1.107 MB / 1.195 GB, free: 5.641 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005568/0.8401, allocations: 298.9 kB / 1.195 GB, free: 5.305 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002121/0.8403, allocations: 112.2 kB / 1.195 GB, free: 5.18 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.196e-05/0.8403, allocations: 4 kB / 1.195 GB, free: 5.176 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003892/0.8407, allocations: 230.5 kB / 1.195 GB, free: 4.926 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=25): time 2.334e-06/0.8407, allocations: 0 / 1.195 GB, free: 4.926 MB / 0.7605 GB Notification: Performance of matching and sorting (n=25): time 0.001031/0.8418, allocations: 438.4 kB / 1.196 GB, free: 4.492 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.794e-05/0.8419, allocations: 170.1 kB / 1.196 GB, free: 4.289 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001451/0.8433, allocations: 1.051 MB / 1.197 GB, free: 3.227 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.424e-05/0.8434, allocations: 33.7 kB / 1.197 GB, free: 3.188 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002176/0.8436, allocations: 296.8 kB / 1.197 GB, free: 2.891 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 7.281e-05/0.8437, allocations: 75.08 kB / 1.197 GB, free: 2.816 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.43e-05/0.8437, allocations: 12 kB / 1.197 GB, free: 2.805 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.8438, allocations: 333.9 kB / 1.198 GB, free: 2.473 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004984/0.8443, allocations: 257.2 kB / 1.198 GB, free: 2.223 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005214/0.8449, allocations: 355 kB / 1.198 GB, free: 1.844 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007215/0.8456, allocations: 459.8 kB / 1.199 GB, free: 1.371 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.8456, allocations: 0 / 1.199 GB, free: 1.371 MB / 0.7605 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001282/0.8469, allocations: 0.7651 MB / 1.199 GB, free: 0.6016 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.8469, allocations: 4 kB / 1.199 GB, free: 0.5977 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.847, allocations: 4.812 kB / 1.199 GB, free: 0.5938 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.847, allocations: 4 kB / 1.199 GB, free: 0.5898 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003922/0.8474, allocations: 115.8 kB / 1.199 GB, free: 488 kB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.778e-05/0.8474, allocations: 11.98 kB / 1.199 GB, free: 476 kB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003427/0.8478, allocations: 43.67 kB / 1.199 GB, free: 432 kB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.77e-05/0.8478, allocations: 40.05 kB / 1.2 GB, free: 392 kB / 0.7605 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.0003224/0.8482, allocations: 275.9 kB / 1.2 GB, free: 108 kB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001365/0.8483, allocations: 75.05 kB / 1.2 GB, free: 32 kB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007644/0.8491, allocations: 400.5 kB / 1.2 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.8491, allocations: 4 kB / 1.2 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.8491, allocations: 6.062 kB / 1.2 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.8491, allocations: 4 kB / 1.2 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004843/0.8496, allocations: 494.2 kB / 1.201 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.8497, allocations: 4 kB / 1.201 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.75e-05/0.8497, allocations: 23.94 kB / 1.201 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.8498, allocations: 7.984 kB / 1.201 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.338e-05/0.8498, allocations: 8 kB / 1.201 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.8498, allocations: 4.938 kB / 1.201 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.8498, allocations: 0 / 1.201 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006611/0.8505, allocations: 428.8 kB / 1.201 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001919/0.8507, allocations: 176.1 kB / 1.201 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.407e-05/0.8508, allocations: 15.98 kB / 1.201 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/0.851, allocations: 24.61 kB / 1.201 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.502e-05/0.851, allocations: 27.91 kB / 1.201 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.278e-05/0.8511, allocations: 15.98 kB / 1.201 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0007741/0.8518, allocations: 0.6122 MB / 1.202 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8519, allocations: 0 / 1.202 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0005134/0.8524, allocations: 149.6 kB / 1.202 GB, free: 13.57 MB / 0.7761 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.001171/0.8536, allocations: 0.5033 MB / 1.203 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0007596/0.8543, allocations: 439.8 kB / 1.203 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.8543, allocations: 0 / 1.203 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002453/0.8546, allocations: 125.1 kB / 1.203 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009009/0.8555, allocations: 192.2 kB / 1.203 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001779/0.8573, allocations: 1.253 MB / 1.205 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005924/0.8579, allocations: 0.9301 MB / 1.206 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0003452/0.8583, allocations: 118.1 kB / 1.206 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.8584, allocations: 55.42 kB / 1.206 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of SimCode: time 2.9e-07/0.8584, allocations: 0 / 1.206 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of Templates: time 0.01478/0.8732, allocations: 7.757 MB / 1.213 GB, free: 2.637 MB / 0.7761 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1)