Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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.Integers.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_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.492/2.492, allocations: 393.5 MB / 408.4 MB, free: 10.99 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.00138/0.001381, allocations: 190.3 kB / 0.4902 GB, free: 2.223 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.567/1.567, allocations: 223.1 MB / 0.7992 GB, free: 14.68 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.0009701/0.0009699, allocations: 102.2 kB / 0.9396 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003658/0.0003656, allocations: 13.94 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3115, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1891/0.5007, allocations: 150.1 MB / 1.376 GB, free: 3.281 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/0.501, allocations: 79.94 kB / 1.376 GB, free: 3.203 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0632/0.5642, allocations: 21.36 MB / 1.397 GB, free: 13.81 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.144e-06/0.5643, allocations: 0 / 1.397 GB, free: 13.81 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.195e-05/0.5643, allocations: 8 kB / 1.397 GB, free: 13.8 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001164/0.5655, allocations: 0.5451 MB / 1.397 GB, free: 13.2 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.5656, allocations: 12.03 kB / 1.397 GB, free: 13.19 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.368e-05/0.5656, allocations: 30.56 kB / 1.397 GB, free: 13.15 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001801/0.5658, allocations: 39.66 kB / 1.397 GB, free: 13.11 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007829/0.5666, allocations: 371.4 kB / 1.398 GB, free: 12.71 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.91e-05/0.5667, allocations: 19.98 kB / 1.398 GB, free: 12.69 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.122e-05/0.5668, allocations: 24 kB / 1.398 GB, free: 12.67 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003397/0.5671, allocations: 192 kB / 1.398 GB, free: 12.46 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.5671, allocations: 0 / 1.398 GB, free: 12.46 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.5672, allocations: 3.938 kB / 1.398 GB, free: 12.46 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.5672, allocations: 0 / 1.398 GB, free: 12.46 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001879/0.5674, allocations: 115.9 kB / 1.398 GB, free: 12.35 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005124/0.5679, allocations: 395 kB / 1.399 GB, free: 11.91 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004538/0.5684, allocations: 315.8 kB / 1.399 GB, free: 11.57 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.084e-05/0.5684, allocations: 4 kB / 1.399 GB, free: 11.57 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000427/0.5688, allocations: 291.3 kB / 1.399 GB, free: 11.26 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=18): time 1.844e-06/0.5688, allocations: 0 / 1.399 GB, free: 11.26 MB / 0.9011 GB Notification: Performance of matching and sorting (n=18): time 0.0008906/0.5697, allocations: 0.501 MB / 1.4 GB, free: 10.75 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.549e-05/0.5698, allocations: 122.8 kB / 1.4 GB, free: 10.61 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004455/0.5703, allocations: 355.7 kB / 1.4 GB, free: 10.25 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 7.846e-05/0.5704, allocations: 41.64 kB / 1.4 GB, free: 10.21 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.5705, allocations: 161.5 kB / 1.4 GB, free: 10.04 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 5.595e-05/0.5706, allocations: 43.44 kB / 1.4 GB, free: 9.996 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.237e-05/0.5706, allocations: 4 kB / 1.4 GB, free: 9.992 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.5707, allocations: 350.8 kB / 1.401 GB, free: 9.641 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.5709, allocations: 83.94 kB / 1.401 GB, free: 9.559 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005274/0.5714, allocations: 474.3 kB / 1.401 GB, free: 8.961 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002079/0.5716, allocations: 140.1 kB / 1.401 GB, free: 8.824 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.5716, allocations: 0 / 1.401 GB, free: 8.824 MB / 0.9011 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005336/0.5722, allocations: 324.9 kB / 1.402 GB, free: 8.5 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.5722, allocations: 8.391 kB / 1.402 GB, free: 8.492 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.5722, allocations: 8 kB / 1.402 GB, free: 8.484 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.5723, allocations: 8 kB / 1.402 GB, free: 8.477 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/0.5724, allocations: 35.86 kB / 1.402 GB, free: 8.441 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.382e-05/0.5724, allocations: 4 kB / 1.402 GB, free: 8.438 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006755/0.5731, allocations: 44.19 kB / 1.402 GB, free: 8.395 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.033e-05/0.5732, allocations: 16 kB / 1.402 GB, free: 8.379 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.tabOneRow.y[1],tabOneRow.y[1],$PRE.tabOneRow.idx,tabOneRow.idx,$whenCondition10,$PRE.intTimTab1.y[1],intTimTab1.y[1],$PRE.intTimTab1.y[2],intTimTab1.y[2],$PRE.intTimTab1.idx,intTimTab1.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$PRE.intTimTab.y[1],intTimTab.y[1],$PRE.intTimTab.y[2],intTimTab.y[2],$PRE.intTimTab.idx,intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0002451/0.5734, allocations: 201 kB / 1.402 GB, free: 8.172 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.45e-05/0.5735, allocations: 31.56 kB / 1.402 GB, free: 8.141 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.614e-05/0.5736, allocations: 33.89 kB / 1.402 GB, free: 8.105 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.5736, allocations: 4 kB / 1.402 GB, free: 8.102 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.5736, allocations: 0 / 1.402 GB, free: 8.102 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.5736, allocations: 0 / 1.402 GB, free: 8.102 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003313/0.5739, allocations: 293.4 kB / 1.402 GB, free: 7.766 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.574, allocations: 4 kB / 1.402 GB, free: 7.762 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.172e-05/0.574, allocations: 12.06 kB / 1.402 GB, free: 7.75 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.574, allocations: 4 kB / 1.402 GB, free: 7.746 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/0.574, allocations: 4 kB / 1.402 GB, free: 7.742 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.95e-06/0.574, allocations: 7.922 kB / 1.402 GB, free: 7.734 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.574, allocations: 0 / 1.402 GB, free: 7.734 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006056/0.5746, allocations: 465.6 kB / 1.403 GB, free: 7.242 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.5748, allocations: 108.8 kB / 1.403 GB, free: 7.117 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.204e-05/0.5748, allocations: 11.98 kB / 1.403 GB, free: 7.105 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.863e-05/0.5749, allocations: 0 / 1.403 GB, free: 7.105 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.726e-05/0.575, allocations: 23.88 kB / 1.403 GB, free: 7.082 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.131e-05/0.575, allocations: 19.98 kB / 1.403 GB, free: 7.062 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0003284/0.5754, allocations: 283 kB / 1.403 GB, free: 6.785 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5754, allocations: 3.938 kB / 1.403 GB, free: 6.781 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0004477/0.5758, allocations: 95.92 kB / 1.403 GB, free: 6.688 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition10,tabOneRow.y[1],tabOneRow.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab1.y[1],intTimTab1.y[2],intTimTab1.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intTimTab.y[1],intTimTab.y[2],intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.00108/0.5769, allocations: 1.17 MB / 1.404 GB, free: 5.473 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0004348/0.5774, allocations: 260.7 kB / 1.405 GB, free: 5.219 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5774, allocations: 0 / 1.405 GB, free: 5.219 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001967/0.5776, allocations: 139.9 kB / 1.405 GB, free: 5.082 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/0.5778, allocations: 29.45 kB / 1.405 GB, free: 5.055 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002338/0.5802, allocations: 3.212 MB / 1.408 GB, free: 1.723 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.5805, allocations: 0.7708 MB / 1.409 GB, free: 0.9258 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001803/0.5807, allocations: 49.92 kB / 1.409 GB, free: 0.875 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000141/0.5809, allocations: 87.41 kB / 1.409 GB, free: 0.793 MB / 0.9011 GB Notification: Performance of SimCode: time 4.21e-07/0.5809, allocations: 0 / 1.409 GB, free: 0.793 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0264/0.6073, allocations: 7.169 MB / 1.416 GB, free: 9.898 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002286/0.6076, allocations: 224.1 kB / 1.416 GB, free: 9.656 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.986/2.593, allocations: 0 / 1.416 GB, free: 9.656 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime_fmu --startTime=-5 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat does not exist to compare? outputFormat=mat