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.509/2.509, allocations: 284.9 MB / 292.4 MB, free: 10.53 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.001511/0.001511, allocations: 192.8 kB / 360.6 MB, free: 7.273 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.028/2.028, allocations: 205.2 MB / 0.6191 GB, free: 12.2 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.001089/0.001088, allocations: 98.66 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.13e-05/3.141e-05, allocations: 8 kB / 0.8509 GB, free: 3.32 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7964/0.7965, allocations: 115.3 MB / 0.9634 GB, free: 78.73 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2321/1.029, allocations: 137.5 MB / 1.098 GB, free: 2.953 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002724/1.029, allocations: 72.84 kB / 1.098 GB, free: 2.883 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2381/1.267, allocations: 45.67 MB / 1.142 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.603e-06/1.267, allocations: 0 / 1.142 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.174e-05/1.267, allocations: 12 kB / 1.142 GB, free: 5.32 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001454/1.269, allocations: 0.6282 MB / 1.143 GB, free: 4.645 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/1.269, allocations: 11.97 kB / 1.143 GB, free: 4.633 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002566/1.269, allocations: 60.64 kB / 1.143 GB, free: 4.574 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001377/1.27, allocations: 0.5232 MB / 1.144 GB, free: 4.008 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/1.27, allocations: 8 kB / 1.144 GB, free: 4 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001685/1.271, allocations: 24 kB / 1.144 GB, free: 3.977 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005618/1.271, allocations: 216.3 kB / 1.144 GB, free: 3.766 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006984/1.272, allocations: 296.1 kB / 1.144 GB, free: 3.465 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/1.272, allocations: 0 / 1.144 GB, free: 3.465 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.213e-05/1.272, allocations: 0 / 1.144 GB, free: 3.465 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/1.272, allocations: 7.938 kB / 1.144 GB, free: 3.457 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003103/1.275, allocations: 1.13 MB / 1.145 GB, free: 2.281 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009935/1.276, allocations: 460 kB / 1.146 GB, free: 1.805 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003814/1.277, allocations: 182.4 kB / 1.146 GB, free: 1.621 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/1.277, allocations: 7.953 kB / 1.146 GB, free: 1.613 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006905/1.277, allocations: 327.6 kB / 1.146 GB, free: 1.273 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=24): time 2.935e-06/1.277, allocations: 0 / 1.146 GB, free: 1.273 MB / 0.7448 GB Notification: Performance of matching and sorting (n=24): time 0.001459/1.279, allocations: 488.8 kB / 1.147 GB, free: 0.7891 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.165e-05/1.279, allocations: 114.8 kB / 1.147 GB, free: 0.6523 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009992/1.28, allocations: 0.5167 MB / 1.147 GB, free: 132 kB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001635/1.28, allocations: 37.69 kB / 1.147 GB, free: 88 kB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003431/1.28, allocations: 224.2 kB / 1.147 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 7.491e-05/1.281, allocations: 47.42 kB / 1.148 GB, free: 15.81 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-05/1.281, allocations: 5.031 kB / 1.148 GB, free: 15.8 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001817/1.281, allocations: 358.8 kB / 1.148 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002807/1.281, allocations: 119.9 kB / 1.148 GB, free: 15.33 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001087/1.282, allocations: 0.6922 MB / 1.149 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008097/1.283, allocations: 207 kB / 1.149 GB, free: 14.25 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/1.283, allocations: 4 kB / 1.149 GB, free: 14.25 MB / 0.7605 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001474/1.284, allocations: 428.7 kB / 1.149 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/1.285, allocations: 4 kB / 1.149 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/1.285, allocations: 4 kB / 1.149 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.685e-05/1.285, allocations: 8 kB / 1.149 GB, free: 13.81 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002582/1.285, allocations: 31.86 kB / 1.149 GB, free: 13.78 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.724e-05/1.285, allocations: 13.48 kB / 1.149 GB, free: 13.77 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002237/1.287, allocations: 84.47 kB / 1.149 GB, free: 13.68 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-05/1.287, allocations: 16 kB / 1.149 GB, free: 13.67 MB / 0.7605 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 () * 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.0002933/1.288, allocations: 148.6 kB / 1.15 GB, free: 13.52 MB / 0.7605 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001161/1.289, allocations: 482.2 kB / 1.15 GB, free: 13.05 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.204e-05/1.289, allocations: 43.42 kB / 1.15 GB, free: 13 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001719/1.289, allocations: 51.5 kB / 1.15 GB, free: 12.95 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.086e-06/1.289, allocations: 4 kB / 1.15 GB, free: 12.95 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/1.289, allocations: 0 / 1.15 GB, free: 12.95 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/1.289, allocations: 3.984 kB / 1.15 GB, free: 12.95 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000541/1.29, allocations: 373.3 kB / 1.15 GB, free: 12.55 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/1.29, allocations: 0 / 1.15 GB, free: 12.55 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.865e-05/1.29, allocations: 7.938 kB / 1.15 GB, free: 12.54 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.406e-06/1.29, allocations: 7.953 kB / 1.15 GB, free: 12.53 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.156e-05/1.29, allocations: 7.984 kB / 1.15 GB, free: 12.52 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.142e-06/1.29, allocations: 5.625 kB / 1.15 GB, free: 12.52 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/1.29, allocations: 0 / 1.15 GB, free: 12.52 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001134/1.291, allocations: 0.538 MB / 1.151 GB, free: 11.95 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000214/1.291, allocations: 136.6 kB / 1.151 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.647e-05/1.291, allocations: 4 kB / 1.151 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00031/1.292, allocations: 11.98 kB / 1.151 GB, free: 11.78 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/1.292, allocations: 31.95 kB / 1.151 GB, free: 11.75 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-05/1.292, allocations: 16 kB / 1.151 GB, free: 11.73 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0007512/1.292, allocations: 410.9 kB / 1.152 GB, free: 11.33 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4.61e-07/1.293, allocations: 0 / 1.152 GB, free: 11.33 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0009014/1.293, allocations: 107.8 kB / 1.152 GB, free: 11.22 MB / 0.7605 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 () * 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.00166/1.295, allocations: 1.262 MB / 1.153 GB, free: 9.922 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0009397/1.296, allocations: 332.1 kB / 1.153 GB, free: 9.598 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/1.296, allocations: 0 / 1.153 GB, free: 9.598 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003858/1.296, allocations: 183.8 kB / 1.153 GB, free: 9.418 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/1.297, allocations: 37.86 kB / 1.153 GB, free: 9.387 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002127/1.299, allocations: 0.7645 MB / 1.154 GB, free: 8.578 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005525/1.3, allocations: 0.8428 MB / 1.155 GB, free: 7.711 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0005264/1.3, allocations: 95.91 kB / 1.155 GB, free: 7.621 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003102/1.3, allocations: 131.4 kB / 1.155 GB, free: 7.492 MB / 0.7605 GB Notification: Performance of SimCode: time 9.02e-07/1.3, allocations: 3.938 kB / 1.155 GB, free: 7.488 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05776/1.358, allocations: 10.24 MB / 1.165 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002933/1.359, allocations: 154.9 kB / 1.165 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.727/4.085, allocations: 4 kB / 1.165 GB, free: 13.29 MB / 0.7761 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)