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/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.398/1.398, allocations: 249.5 MB / 257 MB, free: 6.941 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001025/0.001025, allocations: 180.8 kB / 316.3 MB, free: 3.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.698/1.698, allocations: 205.3 MB / 0.5671 GB, free: 15.82 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.0008295/0.0008294, allocations: 80.42 kB / 0.6714 GB, free: 4.938 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.918e-05/1.92e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.204, allocations: 106.3 MB / 0.8853 GB, free: 12.13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6889/0.8929, allocations: 135.4 MB / 1.018 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001855/0.8931, allocations: 77.88 kB / 1.018 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.06065/0.9538, allocations: 22.49 MB / 1.04 GB, free: 15.28 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.042e-06/0.9538, allocations: 0 / 1.04 GB, free: 15.28 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 6.424e-05/0.9539, allocations: 12 kB / 1.04 GB, free: 15.27 MB / 0.6667 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.001208/0.9551, allocations: 0.7647 MB / 1.04 GB, free: 14.48 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.9552, allocations: 8.031 kB / 1.04 GB, free: 14.48 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000187/0.9554, allocations: 71.06 kB / 1.04 GB, free: 14.41 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001175/0.9566, allocations: 0.6351 MB / 1.041 GB, free: 13.82 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/0.9566, allocations: 11.98 kB / 1.041 GB, free: 13.81 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.821e-05/0.9566, allocations: 11.19 kB / 1.041 GB, free: 13.8 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001753/0.9568, allocations: 86.16 kB / 1.041 GB, free: 13.75 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002678/0.9571, allocations: 202.1 kB / 1.041 GB, free: 13.57 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.9571, allocations: 0 / 1.041 GB, free: 13.57 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/0.9571, allocations: 0 / 1.041 GB, free: 13.57 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.9572, allocations: 7.938 kB / 1.041 GB, free: 13.56 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00122/0.9584, allocations: 1.053 MB / 1.042 GB, free: 12.61 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000334/0.9587, allocations: 246.4 kB / 1.043 GB, free: 12.38 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001431/0.9589, allocations: 100.5 kB / 1.043 GB, free: 12.29 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.9589, allocations: 11.92 kB / 1.043 GB, free: 12.29 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002896/0.9592, allocations: 205.3 kB / 1.043 GB, free: 12.09 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=25): time 1.783e-06/0.9592, allocations: 0 / 1.043 GB, free: 12.09 MB / 0.6667 GB Notification: Performance of matching and sorting (n=25): time 0.0005908/0.9598, allocations: 325.3 kB / 1.043 GB, free: 11.83 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.219e-05/0.9599, allocations: 162.2 kB / 1.043 GB, free: 11.64 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/0.9611, allocations: 0.8793 MB / 1.044 GB, free: 10.97 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.055e-05/0.9611, allocations: 28.89 kB / 1.044 GB, free: 10.94 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002122/0.9613, allocations: 284.2 kB / 1.045 GB, free: 10.79 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 7.38e-05/0.9614, allocations: 73.77 kB / 1.045 GB, free: 10.73 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.57e-05/0.9614, allocations: 4 kB / 1.045 GB, free: 10.72 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002091/0.9617, allocations: 384.6 kB / 1.045 GB, free: 10.37 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003297/0.962, allocations: 226.8 kB / 1.045 GB, free: 10.23 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003721/0.9624, allocations: 326.2 kB / 1.045 GB, free: 9.965 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004085/0.9628, allocations: 251.9 kB / 1.046 GB, free: 9.801 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.057e-06/0.9628, allocations: 4 kB / 1.046 GB, free: 9.797 MB / 0.6667 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009899/0.9638, allocations: 0.6868 MB / 1.046 GB, free: 9.266 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.9639, allocations: 8 kB / 1.046 GB, free: 9.258 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.9639, allocations: 0 / 1.046 GB, free: 9.258 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.9639, allocations: 8 kB / 1.046 GB, free: 9.25 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000427/0.9643, allocations: 115.1 kB / 1.047 GB, free: 9.141 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.485e-05/0.9644, allocations: 11.89 kB / 1.047 GB, free: 9.129 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003311/0.9647, allocations: 35.83 kB / 1.047 GB, free: 9.094 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.911e-05/0.9648, allocations: 39.17 kB / 1.047 GB, free: 9.062 MB / 0.6667 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.0001414/0.9649, allocations: 138.3 kB / 1.047 GB, free: 8.926 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004723/0.9654, allocations: 315.3 kB / 1.047 GB, free: 8.672 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.9655, allocations: 75.05 kB / 1.047 GB, free: 8.598 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005905/0.9661, allocations: 363.3 kB / 1.047 GB, free: 8.316 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.9661, allocations: 7.953 kB / 1.047 GB, free: 8.309 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.9662, allocations: 8 kB / 1.047 GB, free: 8.301 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.9662, allocations: 0 / 1.047 GB, free: 8.301 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000474/0.9667, allocations: 438.1 kB / 1.048 GB, free: 7.922 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.9667, allocations: 0 / 1.048 GB, free: 7.922 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.434e-05/0.9668, allocations: 35.19 kB / 1.048 GB, free: 7.891 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.785e-06/0.9668, allocations: 7.984 kB / 1.048 GB, free: 7.883 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.241e-05/0.9668, allocations: 7.984 kB / 1.048 GB, free: 7.875 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.9668, allocations: 0 / 1.048 GB, free: 7.875 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.9668, allocations: 4 kB / 1.048 GB, free: 7.871 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005233/0.9674, allocations: 441.5 kB / 1.048 GB, free: 7.453 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000177/0.9675, allocations: 173.3 kB / 1.049 GB, free: 7.277 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.29e-05/0.9676, allocations: 11.38 kB / 1.049 GB, free: 7.27 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001922/0.9678, allocations: 11.98 kB / 1.049 GB, free: 7.258 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.714e-05/0.9679, allocations: 23.16 kB / 1.049 GB, free: 7.238 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.766e-05/0.968, allocations: 19.55 kB / 1.049 GB, free: 7.223 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0006836/0.9686, allocations: 0.5406 MB / 1.049 GB, free: 6.816 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9687, allocations: 0 / 1.049 GB, free: 6.816 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00051/0.9692, allocations: 119.2 kB / 1.049 GB, free: 6.703 MB / 0.6667 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.001754/0.9709, allocations: 1.583 MB / 1.051 GB, free: 5.23 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0005209/0.9715, allocations: 375.1 kB / 1.051 GB, free: 4.973 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.9715, allocations: 0 / 1.051 GB, free: 4.973 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001575/0.9716, allocations: 111 kB / 1.051 GB, free: 4.895 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008443/0.9725, allocations: 181.4 kB / 1.051 GB, free: 4.754 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001786/0.9743, allocations: 1.012 MB / 1.052 GB, free: 3.816 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005698/0.9749, allocations: 0.9463 MB / 1.053 GB, free: 2.863 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0003262/0.9752, allocations: 113.5 kB / 1.053 GB, free: 2.75 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002744/0.9755, allocations: 222.3 kB / 1.054 GB, free: 2.68 MB / 0.6667 GB Notification: Performance of SimCode: time 4.81e-07/0.9755, allocations: 0 / 1.054 GB, free: 2.68 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03468/1.01, allocations: 12.51 MB / 1.066 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002468/1.01, allocations: 192.2 kB / 1.066 GB, free: 5.977 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.082/3.093, allocations: 0 / 1.066 GB, free: 5.977 MB / 0.6823 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe 2>&1)