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.46/1.46, allocations: 249.3 MB / 261.8 MB, free: 5.852 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.001037/0.001037, allocations: 180.5 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.476/1.476, allocations: 205.2 MB / 0.572 GB, free: 10.67 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.0008599/0.00086, allocations: 90.52 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.746e-05/3.756e-05, allocations: 8 kB / 0.7881 GB, free: 96.97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.2185, allocations: 106.3 MB / 0.8919 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9064/1.125, allocations: 135.1 MB / 1.024 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/1.125, allocations: 77.27 kB / 1.024 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.07385/1.199, allocations: 22.71 MB / 1.046 GB, free: 12.43 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.653e-06/1.199, allocations: 3.938 kB / 1.046 GB, free: 12.43 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001043/1.199, allocations: 12 kB / 1.046 GB, free: 12.42 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.001634/1.201, allocations: 0.7537 MB / 1.047 GB, free: 11.65 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/1.201, allocations: 8.031 kB / 1.047 GB, free: 11.64 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.942e-05/1.201, allocations: 48.86 kB / 1.047 GB, free: 11.59 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000291/1.201, allocations: 71.06 kB / 1.047 GB, free: 11.52 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001635/1.203, allocations: 0.6431 MB / 1.048 GB, free: 10.93 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/1.203, allocations: 7.312 kB / 1.048 GB, free: 10.93 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.277e-05/1.203, allocations: 14.8 kB / 1.048 GB, free: 10.91 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003923/1.204, allocations: 204.8 kB / 1.048 GB, free: 10.73 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/1.204, allocations: 0 / 1.048 GB, free: 10.73 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.191e-05/1.204, allocations: 2.688 kB / 1.048 GB, free: 10.73 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/1.204, allocations: 4 kB / 1.048 GB, free: 10.73 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002197/1.204, allocations: 112.1 kB / 1.048 GB, free: 10.65 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00168/1.206, allocations: 1.079 MB / 1.049 GB, free: 9.676 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004122/1.206, allocations: 268.5 kB / 1.049 GB, free: 9.426 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001488/1.206, allocations: 105.5 kB / 1.049 GB, free: 9.332 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.706e-05/1.206, allocations: 7.938 kB / 1.049 GB, free: 9.324 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003765/1.207, allocations: 234.2 kB / 1.05 GB, free: 9.109 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=25): time 2.434e-06/1.207, allocations: 0 / 1.05 GB, free: 9.109 MB / 0.6667 GB Notification: Performance of matching and sorting (n=25): time 0.0007004/1.207, allocations: 327.4 kB / 1.05 GB, free: 8.848 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/1.207, allocations: 162.2 kB / 1.05 GB, free: 8.652 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001432/1.209, allocations: 0.9184 MB / 1.051 GB, free: 7.945 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.069e-05/1.209, allocations: 36.58 kB / 1.051 GB, free: 7.91 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002478/1.209, allocations: 278.6 kB / 1.051 GB, free: 7.758 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 8.986e-05/1.209, allocations: 77.08 kB / 1.051 GB, free: 7.695 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.541e-05/1.209, allocations: 13.75 kB / 1.051 GB, free: 7.691 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002348/1.21, allocations: 386.9 kB / 1.052 GB, free: 7.336 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004343/1.21, allocations: 245 kB / 1.052 GB, free: 7.176 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005237/1.211, allocations: 341.5 kB / 1.052 GB, free: 6.902 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004384/1.211, allocations: 266.2 kB / 1.052 GB, free: 6.727 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-06/1.211, allocations: 4 kB / 1.052 GB, free: 6.723 MB / 0.6667 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001188/1.212, allocations: 0.7264 MB / 1.053 GB, free: 6.164 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/1.212, allocations: 8 kB / 1.053 GB, free: 6.156 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/1.212, allocations: 0 / 1.053 GB, free: 6.156 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.538e-05/1.212, allocations: 7.953 kB / 1.053 GB, free: 6.148 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004508/1.213, allocations: 118.9 kB / 1.053 GB, free: 6.039 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.95e-05/1.213, allocations: 11.94 kB / 1.053 GB, free: 6.027 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003969/1.213, allocations: 46.52 kB / 1.053 GB, free: 5.988 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.729e-05/1.213, allocations: 34.92 kB / 1.053 GB, free: 5.961 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.0001727/1.213, allocations: 145.6 kB / 1.054 GB, free: 5.828 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000161/1.214, allocations: 79.08 kB / 1.054 GB, free: 5.75 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008335/1.214, allocations: 388.2 kB / 1.054 GB, free: 5.453 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/1.215, allocations: 7.953 kB / 1.054 GB, free: 5.445 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.849e-06/1.215, allocations: 8 kB / 1.054 GB, free: 5.438 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/1.215, allocations: 0 / 1.054 GB, free: 5.438 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006837/1.215, allocations: 479.1 kB / 1.054 GB, free: 5.016 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/1.215, allocations: 0 / 1.054 GB, free: 5.016 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/1.215, allocations: 31.92 kB / 1.054 GB, free: 4.984 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/1.215, allocations: 3.938 kB / 1.054 GB, free: 4.98 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.922e-05/1.215, allocations: 15.17 kB / 1.054 GB, free: 4.969 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/1.215, allocations: 0 / 1.054 GB, free: 4.969 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.982e-06/1.215, allocations: 7.953 kB / 1.055 GB, free: 4.961 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006838/1.216, allocations: 456.6 kB / 1.055 GB, free: 4.535 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002506/1.216, allocations: 161.8 kB / 1.055 GB, free: 4.367 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.501e-05/1.216, allocations: 18.25 kB / 1.055 GB, free: 4.355 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/1.217, allocations: 18.98 kB / 1.055 GB, free: 4.34 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.265e-05/1.217, allocations: 22.97 kB / 1.055 GB, free: 4.32 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.72e-05/1.217, allocations: 15.86 kB / 1.055 GB, free: 4.309 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0008918/1.218, allocations: 0.5804 MB / 1.056 GB, free: 3.867 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.01e-07/1.218, allocations: 0 / 1.056 GB, free: 3.867 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.000661/1.218, allocations: 140.9 kB / 1.056 GB, free: 3.746 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.002095/1.221, allocations: 1.609 MB / 1.057 GB, free: 2.27 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0007037/1.221, allocations: 403.9 kB / 1.058 GB, free: 1.984 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/1.221, allocations: 0 / 1.058 GB, free: 1.984 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.000191/1.221, allocations: 118.1 kB / 1.058 GB, free: 1.902 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009208/1.222, allocations: 189.9 kB / 1.058 GB, free: 1.75 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002152/1.225, allocations: 1.045 MB / 1.059 GB, free: 0.7969 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006899/1.225, allocations: 0.9346 MB / 1.06 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0004085/1.226, allocations: 117.5 kB / 1.06 GB, free: 15.74 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002966/1.226, allocations: 221.6 kB / 1.06 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of SimCode: time 5.01e-07/1.226, allocations: 0 / 1.06 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03823/1.264, allocations: 13.43 MB / 1.073 GB, free: 2.402 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002919/1.265, allocations: 226.6 kB / 1.074 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.386/3.65, allocations: 0 / 1.074 GB, free: 2.168 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)