Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.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.Logical.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime",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.747/1.747, allocations: 292.6 MB / 307.5 MB, free: 5.199 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.001089/0.001089, allocations: 180.2 kB / 377.1 MB, free: 1.527 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.712/1.712, allocations: 205.4 MB / 0.6366 GB, free: 9.555 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.0009057/0.0009059, allocations: 90.28 kB / 0.7509 GB, free: 62.64 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005383/0.0005383, allocations: 12 kB / 0.8749 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3598/0.3604, allocations: 116.3 MB / 0.9884 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7532/1.114, allocations: 139.4 MB / 1.125 GB, free: 35.48 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002777/1.114, allocations: 75.47 kB / 1.125 GB, free: 35.42 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.1205/1.235, allocations: 45.86 MB / 1.169 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.735e-06/1.235, allocations: 3.938 kB / 1.169 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.39e-05/1.235, allocations: 8 kB / 1.169 GB, free: 13.41 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.001898/1.237, allocations: 0.7279 MB / 1.17 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 7.833e-05/1.237, allocations: 8.031 kB / 1.17 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001121/1.237, allocations: 42.55 kB / 1.17 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002391/1.237, allocations: 61.5 kB / 1.17 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00121/1.238, allocations: 0.525 MB / 1.171 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.586e-05/1.238, allocations: 26.28 kB / 1.171 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/1.238, allocations: 39.98 kB / 1.171 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006349/1.239, allocations: 305.6 kB / 1.171 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/1.239, allocations: 0 / 1.171 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.701e-05/1.239, allocations: 9.703 kB / 1.171 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.578e-05/1.239, allocations: 4 kB / 1.171 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004013/1.24, allocations: 225.1 kB / 1.171 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002217/1.242, allocations: 1.18 MB / 1.172 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007674/1.243, allocations: 476 kB / 1.173 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/1.243, allocations: 3.953 kB / 1.173 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005476/1.243, allocations: 338.8 kB / 1.173 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=24): time 2.996e-06/1.243, allocations: 4 kB / 1.173 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of matching and sorting (n=24): time 0.001152/1.244, allocations: 0.6352 MB / 1.174 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/1.245, allocations: 122.8 kB / 1.174 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007334/1.245, allocations: 0.5399 MB / 1.175 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.289e-05/1.245, allocations: 45.7 kB / 1.175 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002523/1.246, allocations: 220.6 kB / 1.175 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.423e-05/1.246, allocations: 47.41 kB / 1.175 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.568e-05/1.246, allocations: 4 kB / 1.175 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000202/1.246, allocations: 362.8 kB / 1.175 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002036/1.246, allocations: 129.3 kB / 1.175 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008999/1.247, allocations: 0.715 MB / 1.176 GB, free: 6.211 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002666/1.247, allocations: 186.5 kB / 1.176 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/1.247, allocations: 0 / 1.176 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007/1.248, allocations: 430 kB / 1.177 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/1.248, allocations: 4 kB / 1.177 GB, free: 5.602 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/1.248, allocations: 4 kB / 1.177 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/1.248, allocations: 8 kB / 1.177 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001892/1.248, allocations: 35.91 kB / 1.177 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.535e-05/1.248, allocations: 12.31 kB / 1.177 GB, free: 5.543 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/1.25, allocations: 96.38 kB / 1.177 GB, free: 5.449 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.384e-05/1.25, allocations: 16 kB / 1.177 GB, free: 5.434 MB / 0.7448 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.0004127/1.25, allocations: 266 kB / 1.177 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.539e-05/1.25, allocations: 43.48 kB / 1.177 GB, free: 5.125 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001168/1.25, allocations: 51.36 kB / 1.177 GB, free: 5.07 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/1.25, allocations: 4.844 kB / 1.177 GB, free: 5.066 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-06/1.25, allocations: 0 / 1.177 GB, free: 5.066 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/1.25, allocations: 0 / 1.177 GB, free: 5.066 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004735/1.251, allocations: 405.2 kB / 1.177 GB, free: 4.621 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/1.251, allocations: 4 kB / 1.177 GB, free: 4.617 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.558e-05/1.251, allocations: 11.98 kB / 1.178 GB, free: 4.605 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.785e-06/1.251, allocations: 4 kB / 1.178 GB, free: 4.602 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.6e-05/1.251, allocations: 11.89 kB / 1.178 GB, free: 4.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/1.251, allocations: 3.938 kB / 1.178 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.251, allocations: 4.656 kB / 1.178 GB, free: 4.582 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007517/1.252, allocations: 0.5452 MB / 1.178 GB, free: 4 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001889/1.252, allocations: 136.5 kB / 1.178 GB, free: 3.848 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.013e-05/1.252, allocations: 8.547 kB / 1.178 GB, free: 3.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001788/1.252, allocations: 19.98 kB / 1.178 GB, free: 3.82 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.67e-05/1.252, allocations: 31.91 kB / 1.178 GB, free: 3.789 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.363e-05/1.252, allocations: 15.98 kB / 1.178 GB, free: 3.773 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000542/1.253, allocations: 431 kB / 1.179 GB, free: 3.352 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2e-07/1.253, allocations: 4 kB / 1.179 GB, free: 3.348 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005695/1.253, allocations: 120.7 kB / 1.179 GB, free: 3.23 MB / 0.7448 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.001245/1.255, allocations: 1.27 MB / 1.18 GB, free: 1.918 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005828/1.255, allocations: 353.9 kB / 1.18 GB, free: 1.574 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.255, allocations: 0 / 1.18 GB, free: 1.574 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002529/1.255, allocations: 188.5 kB / 1.181 GB, free: 1.391 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/1.256, allocations: 39.27 kB / 1.181 GB, free: 1.355 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002836/1.259, allocations: 3.425 MB / 1.184 GB, free: 13.83 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005142/1.259, allocations: 0.843 MB / 1.185 GB, free: 12.96 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0003706/1.259, allocations: 99.41 kB / 1.185 GB, free: 12.86 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002325/1.26, allocations: 127.4 kB / 1.185 GB, free: 12.73 MB / 0.7605 GB Notification: Performance of SimCode: time 6.92e-07/1.26, allocations: 0 / 1.185 GB, free: 12.73 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02929/1.289, allocations: 11.27 MB / 1.196 GB, free: 1.75 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000195/1.289, allocations: 215.9 kB / 1.196 GB, free: 1.504 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.37/3.659, allocations: 0 / 1.196 GB, free: 1.504 MB / 0.7605 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime_fmu --startTime=-5 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1)