Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.7/1.7, allocations: 285.4 MB / 298 MB, free: 5.992 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.000959/0.0009589, allocations: 176.8 kB / 366.4 MB, free: 2.109 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.458/1.458, allocations: 205.1 MB / 0.6248 GB, free: 7.77 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.0008563/0.0008563, allocations: 94.11 kB / 0.738 GB, free: 40.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.142e-05/4.144e-05, allocations: 4 kB / 0.8584 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.825/0.825, allocations: 115.3 MB / 0.971 GB, free: 78.02 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2344/1.06, allocations: 138.3 MB / 1.106 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000336/1.06, allocations: 73.2 kB / 1.106 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.1358/1.196, allocations: 45.9 MB / 1.151 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.024e-06/1.196, allocations: 0 / 1.151 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.162e-05/1.196, allocations: 16 kB / 1.151 GB, free: 15.6 MB / 0.7605 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.001055/1.197, allocations: 0.6243 MB / 1.152 GB, free: 14.93 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/1.197, allocations: 8.031 kB / 1.152 GB, free: 14.92 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.435e-05/1.197, allocations: 42.56 kB / 1.152 GB, free: 14.87 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001626/1.197, allocations: 59.42 kB / 1.152 GB, free: 14.81 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009589/1.198, allocations: 0.5307 MB / 1.152 GB, free: 14.24 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.464e-05/1.198, allocations: 28.22 kB / 1.152 GB, free: 14.21 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.451e-05/1.198, allocations: 32 kB / 1.152 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005019/1.199, allocations: 311.8 kB / 1.153 GB, free: 13.87 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/1.199, allocations: 0 / 1.153 GB, free: 13.87 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.682e-05/1.199, allocations: 7.938 kB / 1.153 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.597e-06/1.199, allocations: 4 kB / 1.153 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003377/1.199, allocations: 223.8 kB / 1.153 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001985/1.201, allocations: 1.172 MB / 1.154 GB, free: 12.41 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000665/1.202, allocations: 472.1 kB / 1.154 GB, free: 11.92 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002755/1.202, allocations: 186.6 kB / 1.155 GB, free: 11.73 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/1.202, allocations: 4 kB / 1.155 GB, free: 11.72 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005397/1.203, allocations: 340.2 kB / 1.155 GB, free: 11.37 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=24): time 1.884e-06/1.203, allocations: 0 / 1.155 GB, free: 11.37 MB / 0.7605 GB Notification: Performance of matching and sorting (n=24): time 0.0008763/1.204, allocations: 0.4884 MB / 1.155 GB, free: 10.88 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.599e-05/1.204, allocations: 118.8 kB / 1.155 GB, free: 10.74 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007208/1.205, allocations: 0.5342 MB / 1.156 GB, free: 10.2 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 7.828e-05/1.205, allocations: 45.69 kB / 1.156 GB, free: 10.14 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000226/1.205, allocations: 231 kB / 1.156 GB, free: 9.902 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 5.724e-05/1.205, allocations: 55.39 kB / 1.156 GB, free: 9.848 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.612e-05/1.205, allocations: 4 kB / 1.156 GB, free: 9.844 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001744/1.205, allocations: 358.8 kB / 1.157 GB, free: 9.484 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001865/1.205, allocations: 123.9 kB / 1.157 GB, free: 9.363 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009066/1.206, allocations: 0.7127 MB / 1.157 GB, free: 8.465 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002593/1.206, allocations: 175.4 kB / 1.158 GB, free: 8.297 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/1.207, allocations: 4 kB / 1.158 GB, free: 8.293 MB / 0.7605 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006648/1.207, allocations: 428.6 kB / 1.158 GB, free: 7.867 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/1.207, allocations: 8 kB / 1.158 GB, free: 7.859 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/1.207, allocations: 2.266 kB / 1.158 GB, free: 7.859 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/1.207, allocations: 8.062 kB / 1.158 GB, free: 7.852 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001846/1.207, allocations: 39.86 kB / 1.158 GB, free: 7.812 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.421e-05/1.207, allocations: 4 kB / 1.158 GB, free: 7.809 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001107/1.209, allocations: 92.56 kB / 1.158 GB, free: 7.719 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.622e-05/1.209, allocations: 23.98 kB / 1.158 GB, free: 7.695 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.0002125/1.209, allocations: 162.2 kB / 1.158 GB, free: 7.535 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.955e-05/1.209, allocations: 39.48 kB / 1.158 GB, free: 7.496 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001213/1.209, allocations: 51.5 kB / 1.158 GB, free: 7.445 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/1.209, allocations: 4 kB / 1.158 GB, free: 7.441 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/1.209, allocations: 0 / 1.158 GB, free: 7.441 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/1.209, allocations: 3.984 kB / 1.158 GB, free: 7.438 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004691/1.21, allocations: 415.4 kB / 1.159 GB, free: 6.984 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/1.21, allocations: 0 / 1.159 GB, free: 6.984 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.123e-05/1.21, allocations: 4 kB / 1.159 GB, free: 6.98 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/1.21, allocations: 7.953 kB / 1.159 GB, free: 6.973 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.564e-05/1.21, allocations: 11.98 kB / 1.159 GB, free: 6.961 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/1.21, allocations: 4 kB / 1.159 GB, free: 6.957 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/1.21, allocations: 0 / 1.159 GB, free: 6.957 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007765/1.21, allocations: 0.5443 MB / 1.159 GB, free: 6.375 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001707/1.211, allocations: 136.5 kB / 1.16 GB, free: 6.223 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.007e-05/1.211, allocations: 4 kB / 1.16 GB, free: 6.219 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/1.211, allocations: 15.98 kB / 1.16 GB, free: 6.203 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.746e-05/1.211, allocations: 31.95 kB / 1.16 GB, free: 6.172 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-05/1.211, allocations: 16 kB / 1.16 GB, free: 6.156 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0005577/1.212, allocations: 429.1 kB / 1.16 GB, free: 5.734 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.7e-07/1.212, allocations: 3.938 kB / 1.16 GB, free: 5.73 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005499/1.212, allocations: 123.9 kB / 1.16 GB, free: 5.609 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.001436/1.214, allocations: 1.274 MB / 1.161 GB, free: 4.293 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0006578/1.214, allocations: 348.1 kB / 1.162 GB, free: 3.953 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/1.214, allocations: 0 / 1.162 GB, free: 3.953 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002969/1.215, allocations: 183.8 kB / 1.162 GB, free: 3.773 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/1.215, allocations: 34.84 kB / 1.162 GB, free: 3.734 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001542/1.216, allocations: 0.7997 MB / 1.163 GB, free: 2.898 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005712/1.217, allocations: 0.8421 MB / 1.164 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0003275/1.217, allocations: 95.06 kB / 1.164 GB, free: 1.945 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002017/1.218, allocations: 131.4 kB / 1.164 GB, free: 1.816 MB / 0.7605 GB Notification: Performance of SimCode: time 5.91e-07/1.218, allocations: 0 / 1.164 GB, free: 1.816 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02816/1.246, allocations: 11.34 MB / 1.175 GB, free: 6.773 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002067/1.246, allocations: 196.1 kB / 1.175 GB, free: 6.535 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.238/3.484, allocations: 0 / 1.175 GB, free: 6.535 MB / 0.7761 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1)