Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.503/2.503, allocations: 393.5 MB / 408.4 MB, free: 11.01 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 180 kB / 0.4901 GB, free: 2.25 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.595/1.595, allocations: 223.1 MB / 0.7992 GB, free: 14.75 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 102.4 kB / 0.9396 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005028/0.0005028, allocations: 15.53 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.3185, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1828/0.5014, allocations: 150.5 MB / 1.376 GB, free: 3.02 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002218/0.5016, allocations: 67.97 kB / 1.376 GB, free: 2.953 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.138/0.6396, allocations: 46.2 MB / 1.421 GB, free: 4.664 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.705e-06/0.6397, allocations: 0 / 1.421 GB, free: 4.664 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.391e-05/0.6398, allocations: 15.94 kB / 1.421 GB, free: 4.648 MB / 0.9167 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.001874/0.6417, allocations: 0.7217 MB / 1.422 GB, free: 3.875 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.6417, allocations: 12.03 kB / 1.422 GB, free: 3.863 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001198/0.6419, allocations: 46.55 kB / 1.422 GB, free: 3.809 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003584/0.6422, allocations: 59.39 kB / 1.422 GB, free: 3.75 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/0.6435, allocations: 0.525 MB / 1.423 GB, free: 3.184 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.06e-05/0.6436, allocations: 28.22 kB / 1.423 GB, free: 3.156 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001717/0.6438, allocations: 32 kB / 1.423 GB, free: 3.125 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004885/0.6442, allocations: 309.7 kB / 1.423 GB, free: 2.809 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.6443, allocations: 0 / 1.423 GB, free: 2.809 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.529e-05/0.6443, allocations: 4 kB / 1.423 GB, free: 2.805 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.6443, allocations: 4 kB / 1.423 GB, free: 2.801 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003381/0.6447, allocations: 223.8 kB / 1.423 GB, free: 2.582 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002279/0.6469, allocations: 1.187 MB / 1.424 GB, free: 1.336 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000593/0.6476, allocations: 471.9 kB / 1.425 GB, free: 0.8477 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/0.6476, allocations: 4 kB / 1.425 GB, free: 0.8438 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004562/0.648, allocations: 342.8 kB / 1.425 GB, free: 500 kB / 0.9167 GB Notification: Performance of pre-optimization done (n=24): time 2.645e-06/0.6481, allocations: 4 kB / 1.425 GB, free: 496 kB / 0.9167 GB Notification: Performance of matching and sorting (n=24): time 0.5706/1.219, allocations: 0.6353 MB / 1.426 GB, free: 192.6 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.005e-05/1.219, allocations: 113.5 kB / 1.426 GB, free: 192.5 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007674/1.22, allocations: 0.5459 MB / 1.427 GB, free: 192.4 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002259/1.22, allocations: 44.2 kB / 1.427 GB, free: 192.3 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001644/1.22, allocations: 217.8 kB / 1.427 GB, free: 192.2 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.472e-05/1.22, allocations: 56.28 kB / 1.427 GB, free: 192.2 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.449e-05/1.22, allocations: 5.156 kB / 1.427 GB, free: 192.2 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.742e-05/1.22, allocations: 356.1 kB / 1.427 GB, free: 191.9 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001597/1.22, allocations: 129.5 kB / 1.427 GB, free: 191.9 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006014/1.221, allocations: 0.722 MB / 1.428 GB, free: 191.5 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002071/1.221, allocations: 188.9 kB / 1.428 GB, free: 191.5 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/1.221, allocations: 0 / 1.428 GB, free: 191.5 MB / 0.9167 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005441/1.222, allocations: 421.2 kB / 1.429 GB, free: 191.4 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/1.222, allocations: 6.969 kB / 1.429 GB, free: 191.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/1.222, allocations: 6.844 kB / 1.429 GB, free: 191.4 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/1.222, allocations: 5.438 kB / 1.429 GB, free: 191.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/1.222, allocations: 29.91 kB / 1.429 GB, free: 191.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/1.222, allocations: 12.2 kB / 1.429 GB, free: 191.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/1.223, allocations: 101.4 kB / 1.429 GB, free: 191.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.576e-05/1.223, allocations: 18.61 kB / 1.429 GB, free: 191.4 MB / 0.9167 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.0003071/1.223, allocations: 269.7 kB / 1.429 GB, free: 191.3 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.705e-05/1.224, allocations: 36.44 kB / 1.429 GB, free: 191.3 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.68e-05/1.224, allocations: 49.75 kB / 1.429 GB, free: 191.2 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/1.224, allocations: 3.188 kB / 1.429 GB, free: 191.2 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/1.224, allocations: 0.5 kB / 1.429 GB, free: 191.2 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/1.224, allocations: 3.25 kB / 1.429 GB, free: 191.2 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000347/1.224, allocations: 414.7 kB / 1.43 GB, free: 191.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/1.224, allocations: 0.875 kB / 1.43 GB, free: 191.1 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.905e-05/1.224, allocations: 12.08 kB / 1.43 GB, free: 191.1 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/1.224, allocations: 1.5 kB / 1.43 GB, free: 191.1 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.361e-05/1.224, allocations: 10.08 kB / 1.43 GB, free: 191.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/1.224, allocations: 2.938 kB / 1.43 GB, free: 191.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.224, allocations: 2.25 kB / 1.43 GB, free: 191.1 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006078/1.225, allocations: 0.5437 MB / 1.43 GB, free: 190.9 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/1.225, allocations: 140.6 kB / 1.43 GB, free: 190.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.388e-05/1.225, allocations: 9.484 kB / 1.43 GB, free: 190.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/1.225, allocations: 18.41 kB / 1.43 GB, free: 190.8 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.839e-05/1.225, allocations: 28.02 kB / 1.43 GB, free: 190.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.748e-05/1.225, allocations: 20.22 kB / 1.43 GB, free: 190.8 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0004154/1.226, allocations: 431.3 kB / 1.431 GB, free: 190.7 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.3e-07/1.226, allocations: 4.844 kB / 1.431 GB, free: 190.7 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0004836/1.226, allocations: 115.1 kB / 1.431 GB, free: 190.7 MB / 0.9167 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.0009856/1.227, allocations: 1.27 MB / 1.432 GB, free: 189.9 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.00056/1.228, allocations: 356.1 kB / 1.432 GB, free: 189.9 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.228, allocations: 7.688 kB / 1.432 GB, free: 189.9 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002512/1.228, allocations: 187.1 kB / 1.433 GB, free: 189.9 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002311/1.228, allocations: 33.05 kB / 1.433 GB, free: 189.9 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001913/1.23, allocations: 3.428 MB / 1.436 GB, free: 187.1 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/1.23, allocations: 0.8422 MB / 1.437 GB, free: 186.4 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0002913/1.231, allocations: 98.23 kB / 1.437 GB, free: 186.4 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001738/1.231, allocations: 129.9 kB / 1.437 GB, free: 186.4 MB / 0.9167 GB Notification: Performance of SimCode: time 7.92e-07/1.231, allocations: 0 / 1.437 GB, free: 186.4 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03025/1.261, allocations: 11.27 MB / 1.448 GB, free: 185.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001773/1.261, allocations: 210.7 kB / 1.448 GB, free: 185.6 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.311/3.572, allocations: 1.031 kB / 1.448 GB, free: 185.6 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime_fmu --startTime=-5 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime_res.mat does not exist to compare? outputFormat=mat