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.373/2.373, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.001085/0.001085, allocations: 176.8 kB / 487.4 MB, free: 5.035 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.647/1.647, allocations: 221.5 MB / 0.7824 GB, free: 0.9414 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009922/0.0009922, allocations: 94.03 kB / 0.9219 GB, free: 2.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.867e-05/2.869e-05, allocations: 4 kB / 1.067 GB, free: 185.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3063, allocations: 142.4 MB / 1.206 GB, free: 43.77 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9988/1.305, allocations: 148.6 MB / 1.351 GB, free: 18.06 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002308/1.306, allocations: 71.23 kB / 1.351 GB, free: 18.06 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0577/1.363, allocations: 21.25 MB / 1.372 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.324e-06/1.363, allocations: 0 / 1.372 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.808e-05/1.363, allocations: 3.812 kB / 1.372 GB, free: 32.53 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.001076/1.364, allocations: 0.4913 MB / 1.373 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/1.365, allocations: 12 kB / 1.373 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002329/1.365, allocations: 26.91 kB / 1.373 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006702/1.365, allocations: 373.3 kB / 1.373 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/1.365, allocations: 2.438 kB / 1.373 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.846e-05/1.366, allocations: 15.66 kB / 1.373 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000181/1.366, allocations: 110.8 kB / 1.373 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002577/1.366, allocations: 192.7 kB / 1.373 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/1.366, allocations: 0 / 1.373 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.309e-05/1.366, allocations: 3.141 kB / 1.373 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/1.366, allocations: 3.812 kB / 1.373 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004502/1.367, allocations: 361.8 kB / 1.374 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003545/1.367, allocations: 315.4 kB / 1.374 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/1.367, allocations: 123.7 kB / 1.374 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.176e-05/1.367, allocations: 0 / 1.374 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000335/1.367, allocations: 285.5 kB / 1.374 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=18): time 1.933e-06/1.367, allocations: 0 / 1.374 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18): time 0.0007068/1.368, allocations: 402.2 kB / 1.375 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/1.368, allocations: 106.7 kB / 1.375 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003847/1.369, allocations: 352.1 kB / 1.375 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.664e-05/1.369, allocations: 29.52 kB / 1.375 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/1.369, allocations: 161.3 kB / 1.375 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.258e-05/1.369, allocations: 29.78 kB / 1.375 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.179e-05/1.369, allocations: 0 / 1.375 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001445/1.369, allocations: 348.8 kB / 1.376 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/1.369, allocations: 86.34 kB / 1.376 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003717/1.37, allocations: 459.5 kB / 1.376 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004479/1.37, allocations: 164.6 kB / 1.376 GB, free: 30 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/1.37, allocations: 0 / 1.376 GB, free: 30 MB / 0.8386 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006379/1.371, allocations: 327.6 kB / 1.377 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/1.371, allocations: 7.656 kB / 1.377 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/1.371, allocations: 3.938 kB / 1.377 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/1.371, allocations: 8.156 kB / 1.377 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/1.371, allocations: 37.81 kB / 1.377 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/1.371, allocations: 7.781 kB / 1.377 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006423/1.372, allocations: 39.14 kB / 1.377 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-05/1.372, allocations: 15.48 kB / 1.377 GB, free: 29.86 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.0001505/1.372, allocations: 133.4 kB / 1.377 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004955/1.372, allocations: 394.5 kB / 1.377 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.735e-05/1.372, allocations: 27.31 kB / 1.377 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.566e-05/1.372, allocations: 32.33 kB / 1.377 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/1.372, allocations: 3.781 kB / 1.377 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/1.372, allocations: 0 / 1.377 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/1.372, allocations: 0 / 1.377 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002138/1.373, allocations: 267.4 kB / 1.378 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.103e-06/1.373, allocations: 0 / 1.378 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.713e-05/1.373, allocations: 3.844 kB / 1.378 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/1.373, allocations: 4 kB / 1.378 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/1.373, allocations: 11.67 kB / 1.378 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/1.373, allocations: 0 / 1.378 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/1.373, allocations: 0 / 1.378 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005085/1.373, allocations: 466.4 kB / 1.378 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.807e-05/1.373, allocations: 115.1 kB / 1.378 GB, free: 29.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.012e-05/1.373, allocations: 3.875 kB / 1.378 GB, free: 29.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.57e-05/1.373, allocations: 4.062 kB / 1.378 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.406e-05/1.374, allocations: 19.5 kB / 1.378 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.839e-05/1.374, allocations: 22.64 kB / 1.378 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002763/1.374, allocations: 278.6 kB / 1.378 GB, free: 28.97 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/1.374, allocations: 0 / 1.378 GB, free: 28.97 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004596/1.374, allocations: 73.03 kB / 1.379 GB, free: 28.96 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.001052/1.375, allocations: 1.164 MB / 1.38 GB, free: 28.1 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003884/1.376, allocations: 241.3 kB / 1.38 GB, free: 28.07 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.376, allocations: 0 / 1.38 GB, free: 28.07 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001835/1.376, allocations: 142.6 kB / 1.38 GB, free: 28.05 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002355/1.376, allocations: 25.47 kB / 1.38 GB, free: 28.04 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/1.377, allocations: 0.5153 MB / 1.381 GB, free: 27.8 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000419/1.378, allocations: 0.7728 MB / 1.381 GB, free: 27.06 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001742/1.378, allocations: 52.59 kB / 1.381 GB, free: 27.05 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/1.378, allocations: 81.31 kB / 1.381 GB, free: 27.03 MB / 0.8386 GB Notification: Performance of SimCode: time 2.285e-06/1.378, allocations: 0 / 1.381 GB, free: 27.03 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02925/1.407, allocations: 6.513 MB / 1.388 GB, free: 23.95 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001791/1.407, allocations: 174.3 kB / 1.388 GB, free: 23.75 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.073/3.48, allocations: 0 / 1.388 GB, free: 23.75 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