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.602/1.602, allocations: 251.9 MB / 266.8 MB, free: 11.03 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.001262/0.001262, allocations: 181.5 kB / 326.5 MB, free: 2.27 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.913/1.913, allocations: 205.4 MB / 0.5775 GB, free: 20.24 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.0008813/0.0008814, allocations: 88.55 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003496/0.0003498, allocations: 12.53 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.2173, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1704/0.3878, allocations: 135.1 MB / 1.032 GB, free: 8.516 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002781/0.3881, allocations: 79.95 kB / 1.032 GB, free: 8.438 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06592/0.454, allocations: 22.77 MB / 1.054 GB, free: 1.625 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4541, allocations: 0 / 1.054 GB, free: 1.625 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000125/0.4542, allocations: 19.94 kB / 1.054 GB, free: 1.605 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.002221/0.4565, allocations: 0.9238 MB / 1.055 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/0.4565, allocations: 8.031 kB / 1.055 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.463e-05/0.4566, allocations: 42.55 kB / 1.055 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002972/0.4569, allocations: 67.16 kB / 1.055 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5049/0.9619, allocations: 0.6438 MB / 1.056 GB, free: 145.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/0.962, allocations: 9.812 kB / 1.056 GB, free: 145.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.024e-05/0.962, allocations: 12.66 kB / 1.056 GB, free: 145.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004166/0.9624, allocations: 210.2 kB / 1.056 GB, free: 145.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.9624, allocations: 0 / 1.056 GB, free: 145.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.203e-05/0.9625, allocations: 5.125 kB / 1.056 GB, free: 145.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.9625, allocations: 5.906 kB / 1.056 GB, free: 145.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000246/0.9627, allocations: 111.8 kB / 1.056 GB, free: 145.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00147/0.9642, allocations: 1.08 MB / 1.058 GB, free: 144.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000586/0.9648, allocations: 296.6 kB / 1.058 GB, free: 144.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.9649, allocations: 4.359 kB / 1.058 GB, free: 144.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000352/0.9652, allocations: 230.4 kB / 1.058 GB, free: 144.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=25): time 2.544e-06/0.9652, allocations: 0 / 1.058 GB, free: 144.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=25): time 0.0009384/0.9662, allocations: 447.5 kB / 1.058 GB, free: 144.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.873e-05/0.9662, allocations: 157 kB / 1.059 GB, free: 144.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001274/0.9675, allocations: 0.921 MB / 1.06 GB, free: 144.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.497e-05/0.9676, allocations: 39.02 kB / 1.06 GB, free: 144.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000223/0.9678, allocations: 279.8 kB / 1.06 GB, free: 144.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.408e-05/0.9679, allocations: 80.34 kB / 1.06 GB, free: 144.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.222e-05/0.9679, allocations: 12.38 kB / 1.06 GB, free: 144.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.968, allocations: 386.7 kB / 1.06 GB, free: 143.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004242/0.9685, allocations: 253.9 kB / 1.061 GB, free: 143.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004359/0.9689, allocations: 348.7 kB / 1.061 GB, free: 143.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004474/0.9694, allocations: 283.5 kB / 1.061 GB, free: 143.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.9694, allocations: 0.5625 kB / 1.061 GB, free: 143.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001549/0.9709, allocations: 0.7521 MB / 1.062 GB, free: 143.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.971, allocations: 11.16 kB / 1.062 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.971, allocations: 6.688 kB / 1.062 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.761e-05/0.971, allocations: 6.672 kB / 1.062 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005871/0.9716, allocations: 115.7 kB / 1.062 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.528e-05/0.9717, allocations: 3.703 kB / 1.062 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005046/0.9722, allocations: 45.69 kB / 1.062 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.9723, allocations: 41.38 kB / 1.062 GB, free: 143.8 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.0004543/0.9728, allocations: 271.7 kB / 1.062 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/0.9729, allocations: 72.34 kB / 1.062 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001075/0.974, allocations: 398.2 kB / 1.063 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.315e-06/0.974, allocations: 2.969 kB / 1.063 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.974, allocations: 7.453 kB / 1.063 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.9741, allocations: 4.969 kB / 1.063 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000806/0.9749, allocations: 483.4 kB / 1.063 GB, free: 143.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.9749, allocations: 0.5625 kB / 1.063 GB, free: 143.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001321/0.975, allocations: 29 kB / 1.063 GB, free: 143.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.9751, allocations: 2.906 kB / 1.063 GB, free: 143.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.627e-05/0.9751, allocations: 15.23 kB / 1.063 GB, free: 143.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.9751, allocations: 5.188 kB / 1.063 GB, free: 143.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.9751, allocations: 0.6562 kB / 1.063 GB, free: 143.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/0.9762, allocations: 477.1 kB / 1.064 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002793/0.9765, allocations: 173.6 kB / 1.064 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.9766, allocations: 10.94 kB / 1.064 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002831/0.9769, allocations: 16.86 kB / 1.064 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.457e-05/0.977, allocations: 27.14 kB / 1.064 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.494e-05/0.9771, allocations: 18.16 kB / 1.064 GB, free: 143 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001098/0.9782, allocations: 0.5887 MB / 1.065 GB, free: 142.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.8e-07/0.9782, allocations: 0 / 1.065 GB, free: 142.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007368/0.9789, allocations: 133.9 kB / 1.065 GB, free: 142.9 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.002617/0.9816, allocations: 1.683 MB / 1.066 GB, free: 141.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001238/0.9828, allocations: 423.5 kB / 1.067 GB, free: 141.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.9828, allocations: 0.7188 kB / 1.067 GB, free: 141.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004099/0.9832, allocations: 134 kB / 1.067 GB, free: 141.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001273/0.9845, allocations: 192.3 kB / 1.067 GB, free: 141.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003984/0.9885, allocations: 3.001 MB / 1.07 GB, free: 139.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007737/0.9893, allocations: 0.9383 MB / 1.071 GB, free: 139 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007094/0.9901, allocations: 112.3 kB / 1.071 GB, free: 139 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005092/0.9906, allocations: 220.7 kB / 1.071 GB, free: 139 MB / 0.698 GB Notification: Performance of SimCode: time 1.824e-06/0.9906, allocations: 4.875 kB / 1.071 GB, free: 138.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04498/1.036, allocations: 13.31 MB / 1.084 GB, free: 137.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002633/1.036, allocations: 252 kB / 1.084 GB, free: 137.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.467/3.503, allocations: 0 / 1.084 GB, free: 137.5 MB / 0.698 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)