Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.939/2.939, allocations: 287.3 MB / 302.3 MB, free: 8.277 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.001452/0.001452, allocations: 184 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.183/2.183, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001131/0.001131, allocations: 94.84 kB / 0.7428 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001704/0.001704, allocations: 13.48 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2286, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9785/1.207, allocations: 138.2 MB / 1.113 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002717/1.208, allocations: 75.94 kB / 1.113 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2149/1.422, allocations: 45.83 MB / 1.158 GB, free: 18.33 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.124e-06/1.422, allocations: 3.938 kB / 1.158 GB, free: 18.33 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.651e-05/1.423, allocations: 12 kB / 1.158 GB, free: 18.32 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001905/1.424, allocations: 0.7225 MB / 1.159 GB, free: 17.59 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/1.425, allocations: 12.02 kB / 1.159 GB, free: 17.57 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001241/1.425, allocations: 53.22 kB / 1.159 GB, free: 17.52 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003747/1.425, allocations: 55.38 kB / 1.159 GB, free: 17.46 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001384/1.426, allocations: 0.5291 MB / 1.159 GB, free: 16.98 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.168e-05/1.427, allocations: 27.67 kB / 1.16 GB, free: 16.96 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001648/1.427, allocations: 38.69 kB / 1.16 GB, free: 16.93 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006976/1.427, allocations: 308.5 kB / 1.16 GB, free: 16.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/1.427, allocations: 0 / 1.16 GB, free: 16.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.243e-05/1.427, allocations: 7.188 kB / 1.16 GB, free: 16.69 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/1.428, allocations: 4 kB / 1.16 GB, free: 16.69 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004977/1.428, allocations: 222.4 kB / 1.16 GB, free: 16.54 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003344/1.431, allocations: 1.186 MB / 1.161 GB, free: 15.53 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009852/1.432, allocations: 474.5 kB / 1.162 GB, free: 15.17 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/1.432, allocations: 7.984 kB / 1.162 GB, free: 15.16 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000722/1.433, allocations: 340.4 kB / 1.162 GB, free: 14.87 MB / 0.698 GB Notification: Performance of pre-optimization done (n=24): time 3.537e-06/1.433, allocations: 0 / 1.162 GB, free: 14.87 MB / 0.698 GB Notification: Performance of matching and sorting (n=24): time 0.002075/1.435, allocations: 0.6288 MB / 1.163 GB, free: 14.39 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/1.435, allocations: 114.4 kB / 1.163 GB, free: 14.26 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00122/1.437, allocations: 0.5543 MB / 1.163 GB, free: 13.81 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003775/1.437, allocations: 44.45 kB / 1.163 GB, free: 13.77 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000352/1.437, allocations: 224.6 kB / 1.164 GB, free: 13.62 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/1.438, allocations: 53.28 kB / 1.164 GB, free: 13.58 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/1.438, allocations: 3.438 kB / 1.164 GB, free: 13.58 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000198/1.438, allocations: 357 kB / 1.164 GB, free: 13.24 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003374/1.438, allocations: 125.7 kB / 1.164 GB, free: 13.16 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00139/1.44, allocations: 0.7133 MB / 1.165 GB, free: 12.36 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004572/1.44, allocations: 191.8 kB / 1.165 GB, free: 12.21 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/1.44, allocations: 0 / 1.165 GB, free: 12.21 MB / 0.698 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001311/1.441, allocations: 436 kB / 1.165 GB, free: 11.88 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.861e-05/1.442, allocations: 8 kB / 1.165 GB, free: 11.87 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/1.442, allocations: 4 kB / 1.165 GB, free: 11.87 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.424e-05/1.442, allocations: 4 kB / 1.165 GB, free: 11.86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002919/1.442, allocations: 35.86 kB / 1.165 GB, free: 11.83 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.489e-05/1.442, allocations: 4 kB / 1.165 GB, free: 11.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002474/1.444, allocations: 99.69 kB / 1.165 GB, free: 11.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/1.445, allocations: 19.11 kB / 1.165 GB, free: 11.72 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],$PRE.booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0007358/1.445, allocations: 264.2 kB / 1.166 GB, free: 11.49 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001825/1.445, allocations: 43.48 kB / 1.166 GB, free: 11.45 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001466/1.446, allocations: 45.12 kB / 1.166 GB, free: 11.41 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/1.446, allocations: 4 kB / 1.166 GB, free: 11.41 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/1.446, allocations: 3.984 kB / 1.166 GB, free: 11.41 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/1.446, allocations: 4 kB / 1.166 GB, free: 11.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006534/1.446, allocations: 405.2 kB / 1.166 GB, free: 11.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/1.446, allocations: 0 / 1.166 GB, free: 11.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.689e-05/1.446, allocations: 12.19 kB / 1.166 GB, free: 11.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.175e-05/1.446, allocations: 3.953 kB / 1.166 GB, free: 11.02 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.905e-05/1.447, allocations: 22.67 kB / 1.166 GB, free: 11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/1.447, allocations: 0 / 1.166 GB, free: 11 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/1.447, allocations: 0 / 1.166 GB, free: 11 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001314/1.448, allocations: 0.5472 MB / 1.167 GB, free: 10.54 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000256/1.448, allocations: 140 kB / 1.167 GB, free: 10.39 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.29e-05/1.448, allocations: 4 kB / 1.167 GB, free: 10.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003358/1.449, allocations: 15.48 kB / 1.167 GB, free: 10.38 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/1.449, allocations: 30.02 kB / 1.167 GB, free: 10.35 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.915e-05/1.449, allocations: 22.73 kB / 1.167 GB, free: 10.33 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009097/1.45, allocations: 426.8 kB / 1.167 GB, free: 10 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.41e-07/1.45, allocations: 0 / 1.167 GB, free: 10 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001153/1.451, allocations: 118.6 kB / 1.168 GB, free: 9.898 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[2],booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.001972/1.453, allocations: 1.282 MB / 1.169 GB, free: 8.703 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001161/1.454, allocations: 350.3 kB / 1.169 GB, free: 8.445 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/1.454, allocations: 4 kB / 1.169 GB, free: 8.441 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004445/1.455, allocations: 179.9 kB / 1.169 GB, free: 8.32 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004603/1.455, allocations: 41.92 kB / 1.169 GB, free: 8.301 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004296/1.459, allocations: 3.429 MB / 1.173 GB, free: 4.91 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006406/1.46, allocations: 0.848 MB / 1.174 GB, free: 4.051 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007076/1.461, allocations: 90.94 kB / 1.174 GB, free: 3.961 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000301/1.461, allocations: 131.7 kB / 1.174 GB, free: 3.914 MB / 0.698 GB Notification: Performance of SimCode: time 1.423e-06/1.461, allocations: 0 / 1.174 GB, free: 3.914 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05802/1.519, allocations: 11.25 MB / 1.185 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003451/1.52, allocations: 198.7 kB / 1.185 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.79/4.31, allocations: 3.5 kB / 1.185 GB, free: 8.715 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1)