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.416/2.416, allocations: 387.1 MB / 399.7 MB, free: 9.445 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.0009438/0.0009439, allocations: 180.1 kB / 492.3 MB, free: 0.6094 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.537/1.537, allocations: 221.3 MB / 0.7871 GB, free: 12.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.0008378/0.0008375, allocations: 87.97 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.573e-05/3.582e-05, allocations: 4 kB / 1.074 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3282, allocations: 142.4 MB / 1.213 GB, free: 38.38 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.061/1.389, allocations: 149.3 MB / 1.358 GB, free: 18.91 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002847/1.39, allocations: 73.73 kB / 1.358 GB, free: 18.91 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05792/1.448, allocations: 21.36 MB / 1.379 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.764e-06/1.448, allocations: 0 / 1.379 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.356e-05/1.448, allocations: 7.875 kB / 1.379 GB, free: 32.4 MB / 0.8386 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.0006937/1.449, allocations: 497.1 kB / 1.38 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.596e-05/1.449, allocations: 7.656 kB / 1.38 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.716e-05/1.449, allocations: 38.42 kB / 1.38 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/1.449, allocations: 31.06 kB / 1.38 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006062/1.449, allocations: 376.6 kB / 1.38 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/1.449, allocations: 14.77 kB / 1.38 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.804e-05/1.449, allocations: 22.47 kB / 1.38 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002803/1.45, allocations: 193.5 kB / 1.38 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.517e-06/1.45, allocations: 0 / 1.38 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.003e-05/1.45, allocations: 3.984 kB / 1.38 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/1.45, allocations: 0 / 1.38 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001444/1.45, allocations: 108.5 kB / 1.38 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003583/1.45, allocations: 401.4 kB / 1.381 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003707/1.451, allocations: 322.3 kB / 1.381 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001457/1.451, allocations: 126.2 kB / 1.381 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.372e-06/1.451, allocations: 3.875 kB / 1.381 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003491/1.451, allocations: 283.3 kB / 1.382 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=18): time 1.372e-06/1.451, allocations: 0 / 1.382 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18): time 0.0005953/1.452, allocations: 407.7 kB / 1.382 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/1.452, allocations: 114.6 kB / 1.382 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003283/1.452, allocations: 360 kB / 1.382 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.671e-05/1.452, allocations: 40.3 kB / 1.382 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/1.452, allocations: 165.9 kB / 1.383 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.566e-05/1.452, allocations: 33.77 kB / 1.383 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.331e-05/1.452, allocations: 6.281 kB / 1.383 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.645e-05/1.453, allocations: 346.8 kB / 1.383 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/1.453, allocations: 92 kB / 1.383 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003793/1.453, allocations: 470.7 kB / 1.383 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001849/1.453, allocations: 136.5 kB / 1.384 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/1.453, allocations: 3.875 kB / 1.384 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003958/1.454, allocations: 329.5 kB / 1.384 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/1.454, allocations: 8.156 kB / 1.384 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/1.454, allocations: 7.844 kB / 1.384 GB, free: 29.47 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/1.454, allocations: 3.844 kB / 1.384 GB, free: 29.47 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001544/1.454, allocations: 30.98 kB / 1.384 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/1.454, allocations: 3.969 kB / 1.384 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00058/1.455, allocations: 49.53 kB / 1.384 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-05/1.455, allocations: 11.69 kB / 1.384 GB, free: 29.45 MB / 0.8386 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 () * 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.0001589/1.455, allocations: 150.8 kB / 1.384 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.827e-05/1.455, allocations: 27.19 kB / 1.384 GB, free: 29.31 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.438e-05/1.455, allocations: 35.17 kB / 1.384 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/1.455, allocations: 3.938 kB / 1.384 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/1.455, allocations: 0 / 1.384 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/1.455, allocations: 3.984 kB / 1.384 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002713/1.455, allocations: 297.2 kB / 1.385 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/1.455, allocations: 0 / 1.385 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.646e-05/1.455, allocations: 11.83 kB / 1.385 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/1.455, allocations: 3.969 kB / 1.385 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.127e-05/1.455, allocations: 10.78 kB / 1.385 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/1.455, allocations: 0 / 1.385 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/1.455, allocations: 0 / 1.385 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005276/1.456, allocations: 469.9 kB / 1.385 GB, free: 28.85 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/1.456, allocations: 115.2 kB / 1.385 GB, free: 28.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.578e-05/1.456, allocations: 0 / 1.385 GB, free: 28.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.041e-05/1.456, allocations: 11.08 kB / 1.385 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.992e-05/1.456, allocations: 19.06 kB / 1.385 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.564e-05/1.456, allocations: 15.2 kB / 1.385 GB, free: 28.72 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002794/1.456, allocations: 286 kB / 1.385 GB, free: 28.61 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.7e-07/1.456, allocations: 0 / 1.385 GB, free: 28.61 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.00043/1.457, allocations: 95.05 kB / 1.386 GB, free: 28.59 MB / 0.8386 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 () * 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.001017/1.458, allocations: 1.158 MB / 1.387 GB, free: 27.75 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003902/1.458, allocations: 254.6 kB / 1.387 GB, free: 27.71 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.458, allocations: 0 / 1.387 GB, free: 27.71 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001676/1.459, allocations: 142.1 kB / 1.387 GB, free: 27.7 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00023/1.459, allocations: 28.19 kB / 1.387 GB, free: 27.69 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009134/1.46, allocations: 0.5365 MB / 1.388 GB, free: 27.44 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003637/1.46, allocations: 0.768 MB / 1.388 GB, free: 26.71 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001564/1.46, allocations: 51.94 kB / 1.388 GB, free: 26.7 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/1.46, allocations: 79.66 kB / 1.388 GB, free: 26.68 MB / 0.8386 GB Notification: Performance of SimCode: time 2.7e-07/1.46, allocations: 0 / 1.388 GB, free: 26.68 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01838/1.479, allocations: 7.238 MB / 1.396 GB, free: 23.3 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001741/1.479, allocations: 195.7 kB / 1.396 GB, free: 23.07 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.968/3.447, allocations: 0 / 1.396 GB, free: 23.07 MB / 0.8386 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