Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,fileNamePrefix="Buildings_8_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_8_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 8.1.4-maint.8.1.x/package.mo): time 1.841/1.841, allocations: 289.7 MB / 302.2 MB, free: 2.121 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001056/0.001056, allocations: 179.4 kB / 371.6 MB, free: 3.391 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.57/1.57, allocations: 205.1 MB / 0.6309 GB, free: 11.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009155/0.0009153, allocations: 91.92 kB / 0.745 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.693e-05/3.696e-05, allocations: 4 kB / 0.8664 GB, free: 14.93 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3144, allocations: 116.3 MB / 0.9799 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.072/1.386, allocations: 142.4 MB / 1.119 GB, free: 42.21 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003326/1.387, allocations: 81.08 kB / 1.119 GB, free: 42.18 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.06555/1.452, allocations: 23.11 MB / 1.142 GB, free: 30.25 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.425e-06/1.453, allocations: 0 / 1.142 GB, free: 30.25 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001552/1.453, allocations: 15.98 kB / 1.142 GB, free: 30.24 MB / 0.7448 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.002217/1.455, allocations: 0.7782 MB / 1.142 GB, free: 29.53 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.747e-05/1.455, allocations: 12.64 kB / 1.142 GB, free: 29.52 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001366/1.455, allocations: 45.03 kB / 1.142 GB, free: 29.47 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004372/1.456, allocations: 73.58 kB / 1.143 GB, free: 29.4 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002204/1.458, allocations: 0.6938 MB / 1.143 GB, free: 28.87 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.856e-05/1.458, allocations: 9.688 kB / 1.143 GB, free: 28.86 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.752e-05/1.458, allocations: 12.11 kB / 1.143 GB, free: 28.86 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004069/1.458, allocations: 197.3 kB / 1.143 GB, free: 28.72 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/1.458, allocations: 3.938 kB / 1.143 GB, free: 28.71 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.621e-05/1.458, allocations: 4.625 kB / 1.143 GB, free: 28.71 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/1.458, allocations: 4 kB / 1.143 GB, free: 28.71 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002076/1.459, allocations: 106.1 kB / 1.144 GB, free: 28.65 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00211/1.461, allocations: 1.109 MB / 1.145 GB, free: 27.81 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004094/1.461, allocations: 272.5 kB / 1.145 GB, free: 27.58 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001539/1.461, allocations: 100.1 kB / 1.145 GB, free: 27.5 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.832e-05/1.461, allocations: 12.59 kB / 1.145 GB, free: 27.48 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003996/1.462, allocations: 215.7 kB / 1.145 GB, free: 27.32 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=25): time 3.196e-06/1.462, allocations: 0 / 1.145 GB, free: 27.32 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25): time 0.0007933/1.463, allocations: 351.9 kB / 1.146 GB, free: 27.07 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.587e-05/1.463, allocations: 163.5 kB / 1.146 GB, free: 26.87 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001544/1.464, allocations: 0.9489 MB / 1.147 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.199e-05/1.464, allocations: 36.77 kB / 1.147 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.00022/1.465, allocations: 291.4 kB / 1.147 GB, free: 26.06 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.005e-05/1.465, allocations: 70.59 kB / 1.147 GB, free: 26.02 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.311e-05/1.465, allocations: 10.88 kB / 1.147 GB, free: 26.01 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.523e-05/1.465, allocations: 335.1 kB / 1.147 GB, free: 25.7 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003635/1.465, allocations: 246.1 kB / 1.148 GB, free: 25.55 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003904/1.466, allocations: 336.7 kB / 1.148 GB, free: 25.31 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004125/1.466, allocations: 274.2 kB / 1.148 GB, free: 25.16 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/1.466, allocations: 3.938 kB / 1.148 GB, free: 25.16 MB / 0.7448 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001133/1.467, allocations: 0.7365 MB / 1.149 GB, free: 24.66 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/1.467, allocations: 8.516 kB / 1.149 GB, free: 24.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/1.467, allocations: 0 / 1.149 GB, free: 24.66 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.724e-05/1.467, allocations: 16.86 kB / 1.149 GB, free: 24.64 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004026/1.468, allocations: 114.6 kB / 1.149 GB, free: 24.55 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.393e-05/1.468, allocations: 4.703 kB / 1.149 GB, free: 24.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003264/1.468, allocations: 43.89 kB / 1.149 GB, free: 24.51 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.635e-05/1.468, allocations: 40.08 kB / 1.149 GB, free: 24.48 MB / 0.7448 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.0001347/1.468, allocations: 143.6 kB / 1.149 GB, free: 24.36 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/1.468, allocations: 76.42 kB / 1.149 GB, free: 24.28 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006218/1.469, allocations: 396.3 kB / 1.15 GB, free: 24.03 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/1.469, allocations: 8 kB / 1.15 GB, free: 24.02 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/1.469, allocations: 3.953 kB / 1.15 GB, free: 24.02 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/1.469, allocations: 1.594 kB / 1.15 GB, free: 24.02 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005753/1.47, allocations: 490.5 kB / 1.15 GB, free: 23.69 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/1.47, allocations: 0.5625 kB / 1.15 GB, free: 23.69 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.528e-05/1.47, allocations: 26.77 kB / 1.15 GB, free: 23.67 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/1.47, allocations: 4.609 kB / 1.15 GB, free: 23.66 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/1.47, allocations: 14.14 kB / 1.15 GB, free: 23.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/1.47, allocations: 0.5156 kB / 1.15 GB, free: 23.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/1.47, allocations: 8.594 kB / 1.15 GB, free: 23.65 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005374/1.47, allocations: 459.4 kB / 1.151 GB, free: 23.25 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002052/1.471, allocations: 175.6 kB / 1.151 GB, free: 23.08 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.789e-05/1.471, allocations: 12.16 kB / 1.151 GB, free: 23.08 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001946/1.471, allocations: 21.22 kB / 1.151 GB, free: 23.07 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.943e-05/1.471, allocations: 35.95 kB / 1.151 GB, free: 23.04 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.336e-05/1.471, allocations: 12.94 kB / 1.151 GB, free: 23.04 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0007302/1.472, allocations: 0.6084 MB / 1.151 GB, free: 22.63 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/1.472, allocations: 0 / 1.151 GB, free: 22.63 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004811/1.472, allocations: 147 kB / 1.152 GB, free: 22.51 MB / 0.7448 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.001865/1.474, allocations: 1.614 MB / 1.153 GB, free: 21.11 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00067/1.475, allocations: 408 kB / 1.154 GB, free: 20.84 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.475, allocations: 0 / 1.154 GB, free: 20.84 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002408/1.475, allocations: 117.5 kB / 1.154 GB, free: 20.76 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009869/1.476, allocations: 190.8 kB / 1.154 GB, free: 20.65 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002106/1.478, allocations: 1.084 MB / 1.155 GB, free: 19.8 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004447/1.479, allocations: 0.9441 MB / 1.156 GB, free: 18.95 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000356/1.479, allocations: 116.6 kB / 1.156 GB, free: 18.86 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003185/1.479, allocations: 239.6 kB / 1.156 GB, free: 18.8 MB / 0.7448 GB Notification: Performance of SimCode: time 4.61e-07/1.479, allocations: 0 / 1.156 GB, free: 18.8 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03053/1.51, allocations: 13.96 MB / 1.17 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001703/1.51, allocations: 208 kB / 1.17 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.496/4.006, allocations: 0 / 1.17 GB, free: 7.758 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe 2>&1)