Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.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.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.606/1.606, allocations: 297.8 MB / 313.7 MB, free: 120 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.001008/0.001008, allocations: 193.7 kB / 384.6 MB, free: 10.84 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.312/1.312, allocations: 223.2 MB / 0.6626 GB, free: 4.277 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.0008058/0.0008059, allocations: 96.55 kB / 0.7808 GB, free: 50.36 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004119/0.000412, allocations: 16.84 kB / 0.9088 GB, free: 2.84 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5777/0.5782, allocations: 120.3 MB / 1.026 GB, free: 55.81 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1692/0.7474, allocations: 145.2 MB / 1.168 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002294/0.7477, allocations: 85.64 kB / 1.168 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.05904/0.8067, allocations: 23.79 MB / 1.191 GB, free: 9.102 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.963e-06/0.8068, allocations: 0 / 1.191 GB, free: 9.102 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.81e-05/0.8068, allocations: 20.16 kB / 1.191 GB, free: 9.082 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.001539/0.8084, allocations: 0.9493 MB / 1.192 GB, free: 8.078 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.8084, allocations: 8.031 kB / 1.192 GB, free: 8.07 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001683/0.8086, allocations: 76 kB / 1.192 GB, free: 7.996 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001324/0.8099, allocations: 0.7315 MB / 1.193 GB, free: 7.223 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.386e-05/0.81, allocations: 8.375 kB / 1.193 GB, free: 7.215 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.832e-05/0.81, allocations: 17.31 kB / 1.193 GB, free: 7.199 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003471/0.8104, allocations: 206.3 kB / 1.193 GB, free: 6.977 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.8104, allocations: 3.938 kB / 1.193 GB, free: 6.973 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.8104, allocations: 4 kB / 1.193 GB, free: 6.969 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.8104, allocations: 4 kB / 1.193 GB, free: 6.965 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002373/0.8107, allocations: 116.9 kB / 1.194 GB, free: 6.852 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001458/0.8121, allocations: 1.11 MB / 1.195 GB, free: 5.676 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005395/0.8127, allocations: 294.4 kB / 1.195 GB, free: 5.344 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000194/0.8129, allocations: 112.2 kB / 1.195 GB, free: 5.219 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.8129, allocations: 11.92 kB / 1.195 GB, free: 5.207 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003521/0.8133, allocations: 227.3 kB / 1.195 GB, free: 4.961 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=25): time 2.274e-06/0.8133, allocations: 3.141 kB / 1.195 GB, free: 4.961 MB / 0.7605 GB Notification: Performance of matching and sorting (n=25): time 0.0009424/0.8142, allocations: 444 kB / 1.196 GB, free: 4.523 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.902e-05/0.8143, allocations: 170.1 kB / 1.196 GB, free: 4.32 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001308/0.8156, allocations: 1.047 MB / 1.197 GB, free: 3.262 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.197e-05/0.8157, allocations: 37.7 kB / 1.197 GB, free: 3.219 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002124/0.8159, allocations: 288.8 kB / 1.197 GB, free: 2.93 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 6.686e-05/0.816, allocations: 75.09 kB / 1.197 GB, free: 2.855 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.011e-05/0.816, allocations: 12.84 kB / 1.197 GB, free: 2.844 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.8161, allocations: 333.9 kB / 1.198 GB, free: 2.512 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004381/0.8166, allocations: 257.2 kB / 1.198 GB, free: 2.262 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004745/0.8171, allocations: 354.9 kB / 1.198 GB, free: 1.883 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007167/0.8178, allocations: 459 kB / 1.199 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.8178, allocations: 4 kB / 1.199 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001205/0.819, allocations: 0.7593 MB / 1.199 GB, free: 0.6445 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.819, allocations: 8 kB / 1.199 GB, free: 0.6367 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.8191, allocations: 1.875 kB / 1.199 GB, free: 0.6367 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.8191, allocations: 11.94 kB / 1.199 GB, free: 0.625 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000385/0.8195, allocations: 111.9 kB / 1.199 GB, free: 0.5156 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.504e-05/0.8195, allocations: 15.75 kB / 1.199 GB, free: 0.5039 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002883/0.8198, allocations: 47.67 kB / 1.199 GB, free: 468 kB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.682e-05/0.8199, allocations: 39.98 kB / 1.2 GB, free: 428 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.0002928/0.8202, allocations: 272.2 kB / 1.2 GB, free: 148 kB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.8203, allocations: 79.05 kB / 1.2 GB, free: 68 kB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007949/0.8211, allocations: 396.4 kB / 1.2 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/0.8211, allocations: 4.688 kB / 1.2 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.8211, allocations: 4 kB / 1.2 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.8211, allocations: 0 / 1.2 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006191/0.8218, allocations: 497 kB / 1.201 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.8218, allocations: 0 / 1.201 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.845e-05/0.8219, allocations: 32.69 kB / 1.201 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.8219, allocations: 3.984 kB / 1.201 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/0.8219, allocations: 4 kB / 1.201 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.8219, allocations: 8 kB / 1.201 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.8219, allocations: 0 / 1.201 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007396/0.8227, allocations: 432.9 kB / 1.201 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002031/0.8229, allocations: 172.9 kB / 1.201 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.062e-05/0.823, allocations: 18 kB / 1.201 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002046/0.8232, allocations: 25.05 kB / 1.201 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.73e-05/0.8233, allocations: 27.91 kB / 1.201 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.386e-05/0.8233, allocations: 11.98 kB / 1.201 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000834/0.8242, allocations: 0.62 MB / 1.202 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.61e-07/0.8242, allocations: 0 / 1.202 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0006345/0.8248, allocations: 143.9 kB / 1.202 GB, free: 13.61 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.001414/0.8263, allocations: 0.4944 MB / 1.203 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000827/0.8271, allocations: 440.9 kB / 1.203 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.8271, allocations: 0 / 1.203 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002448/0.8274, allocations: 120.8 kB / 1.203 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009588/0.8283, allocations: 194.6 kB / 1.203 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001854/0.8302, allocations: 1.251 MB / 1.205 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005105/0.8307, allocations: 0.9336 MB / 1.206 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0003452/0.8311, allocations: 117.5 kB / 1.206 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.8312, allocations: 55.42 kB / 1.206 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of SimCode: time 9.01e-07/0.8312, allocations: 0 / 1.206 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of Templates: time 0.0144/0.8456, allocations: 7.751 MB / 1.213 GB, free: 2.656 MB / 0.7761 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe 2>&1)