Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.233/2.233, allocations: 390.3 MB / 405.3 MB, free: 13.55 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.001227/0.001227, allocations: 181 kB / 498.1 MB, free: 5.785 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.482/1.482, allocations: 223.2 MB / 0.7948 GB, free: 18.91 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.0009242/0.0009243, allocations: 98.84 kB / 0.9346 GB, free: 7.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003729/0.0003731, allocations: 12.61 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.2763, allocations: 142.4 MB / 1.223 GB, free: 89.46 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1976/0.474, allocations: 149.3 MB / 1.369 GB, free: 3.934 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002665/0.4743, allocations: 71.95 kB / 1.369 GB, free: 3.863 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.06479/0.5391, allocations: 21.36 MB / 1.39 GB, free: 14.46 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.263e-06/0.5392, allocations: 0 / 1.39 GB, free: 14.46 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 2.431e-05/0.5392, allocations: 8 kB / 1.39 GB, free: 14.45 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.001025/0.5402, allocations: 0.5491 MB / 1.39 GB, free: 13.85 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.5403, allocations: 8.031 kB / 1.39 GB, free: 13.84 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.382e-05/0.5403, allocations: 34.56 kB / 1.39 GB, free: 13.8 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001703/0.5405, allocations: 43.56 kB / 1.39 GB, free: 13.76 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007191/0.5412, allocations: 383.3 kB / 1.391 GB, free: 13.34 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/0.5413, allocations: 12 kB / 1.391 GB, free: 13.33 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.895e-05/0.5414, allocations: 20 kB / 1.391 GB, free: 13.31 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002991/0.5417, allocations: 188.1 kB / 1.391 GB, free: 13.11 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.5417, allocations: 0 / 1.391 GB, free: 13.11 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.187e-05/0.5417, allocations: 7.984 kB / 1.391 GB, free: 13.11 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.5417, allocations: 0 / 1.391 GB, free: 13.11 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001654/0.5419, allocations: 115.9 kB / 1.391 GB, free: 12.99 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004577/0.5424, allocations: 391 kB / 1.391 GB, free: 12.55 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004245/0.5428, allocations: 319.8 kB / 1.392 GB, free: 12.21 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 8.967e-06/0.5428, allocations: 0 / 1.392 GB, free: 12.21 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003882/0.5432, allocations: 287 kB / 1.392 GB, free: 11.91 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=18): time 1.303e-06/0.5432, allocations: 0 / 1.392 GB, free: 11.91 MB / 0.9011 GB Notification: Performance of matching and sorting (n=18): time 0.0009243/0.5442, allocations: 0.5049 MB / 1.392 GB, free: 11.4 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.306e-05/0.5442, allocations: 114.8 kB / 1.393 GB, free: 11.27 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003981/0.5447, allocations: 359.7 kB / 1.393 GB, free: 10.91 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 6.824e-05/0.5447, allocations: 37.7 kB / 1.393 GB, free: 10.86 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/0.5449, allocations: 165.5 kB / 1.393 GB, free: 10.69 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 4.383e-05/0.545, allocations: 27.62 kB / 1.393 GB, free: 10.66 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.337e-05/0.545, allocations: 8 kB / 1.393 GB, free: 10.65 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.5451, allocations: 354.8 kB / 1.394 GB, free: 10.3 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.5453, allocations: 79.95 kB / 1.394 GB, free: 10.22 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004735/0.5458, allocations: 482.7 kB / 1.394 GB, free: 9.613 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001838/0.546, allocations: 132.1 kB / 1.394 GB, free: 9.484 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.546, allocations: 0 / 1.394 GB, free: 9.484 MB / 0.9011 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004944/0.5465, allocations: 336.8 kB / 1.394 GB, free: 9.148 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.5465, allocations: 8.406 kB / 1.395 GB, free: 9.141 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.5465, allocations: 8 kB / 1.395 GB, free: 9.133 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.5466, allocations: 4 kB / 1.395 GB, free: 9.129 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.5467, allocations: 35.91 kB / 1.395 GB, free: 9.094 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.324e-05/0.5467, allocations: 8 kB / 1.395 GB, free: 9.086 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006745/0.5474, allocations: 44.11 kB / 1.395 GB, free: 9.043 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.484e-05/0.5475, allocations: 19.98 kB / 1.395 GB, free: 9.023 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.0002037/0.5477, allocations: 196.1 kB / 1.395 GB, free: 8.824 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.621e-05/0.5478, allocations: 31.94 kB / 1.395 GB, free: 8.793 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.626e-05/0.5478, allocations: 33.89 kB / 1.395 GB, free: 8.762 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/0.5478, allocations: 3.984 kB / 1.395 GB, free: 8.758 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.5478, allocations: 4 kB / 1.395 GB, free: 8.754 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.5479, allocations: 0 / 1.395 GB, free: 8.754 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002617/0.5481, allocations: 305.2 kB / 1.395 GB, free: 8.406 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.5481, allocations: 4 kB / 1.395 GB, free: 8.402 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.673e-05/0.5482, allocations: 7.984 kB / 1.395 GB, free: 8.395 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.5482, allocations: 0 / 1.395 GB, free: 8.395 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.5482, allocations: 4 kB / 1.395 GB, free: 8.391 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.5482, allocations: 0 / 1.395 GB, free: 8.391 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.5482, allocations: 4 kB / 1.395 GB, free: 8.387 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005566/0.5488, allocations: 471.2 kB / 1.396 GB, free: 7.891 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.5489, allocations: 112.7 kB / 1.396 GB, free: 7.762 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.739e-05/0.5489, allocations: 4 kB / 1.396 GB, free: 7.758 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.258e-05/0.549, allocations: 11.92 kB / 1.396 GB, free: 7.746 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.07e-05/0.5491, allocations: 19.94 kB / 1.396 GB, free: 7.727 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.711e-05/0.5491, allocations: 12 kB / 1.396 GB, free: 7.715 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0003014/0.5494, allocations: 291 kB / 1.396 GB, free: 7.434 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.7e-07/0.5494, allocations: 4 kB / 1.396 GB, free: 7.43 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0004337/0.5499, allocations: 76 kB / 1.396 GB, free: 7.355 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.001133/0.551, allocations: 1.176 MB / 1.397 GB, free: 6.133 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0004598/0.5515, allocations: 257.5 kB / 1.398 GB, free: 5.883 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.5515, allocations: 0 / 1.398 GB, free: 5.883 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002028/0.5517, allocations: 144.7 kB / 1.398 GB, free: 5.742 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002431/0.552, allocations: 23.33 kB / 1.398 GB, free: 5.723 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002882/0.5549, allocations: 3.219 MB / 1.401 GB, free: 2.379 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004343/0.5553, allocations: 0.7677 MB / 1.402 GB, free: 1.586 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.000221/0.5556, allocations: 53.94 kB / 1.402 GB, free: 1.535 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001651/0.5557, allocations: 87.34 kB / 1.402 GB, free: 1.449 MB / 0.9011 GB Notification: Performance of SimCode: time 7.01e-07/0.5557, allocations: 0 / 1.402 GB, free: 1.449 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5544/1.11, allocations: 7.146 MB / 1.409 GB, free: 177.2 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001711/1.11, allocations: 211.9 kB / 1.409 GB, free: 177 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.995/3.105, allocations: 0 / 1.409 GB, free: 177 MB / 0.9011 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime_fmu --startTime=-5 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat does not exist to compare? outputFormat=mat