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.222/2.222, allocations: 390.3 MB / 402.8 MB, free: 6.676 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.001005/0.001006, allocations: 176.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.606/1.606, allocations: 221.3 MB / 0.7915 GB, free: 5.453 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.001024/0.001024, allocations: 103.5 kB / 0.9318 GB, free: 5.758 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.331e-05/4.365e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3191, allocations: 143 MB / 1.219 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.982/1.301, allocations: 150.1 MB / 1.365 GB, free: 3.949 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/1.302, allocations: 70.02 kB / 1.366 GB, free: 3.91 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06074/1.362, allocations: 21.37 MB / 1.386 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.723e-06/1.362, allocations: 0 / 1.386 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.662e-05/1.362, allocations: 4 kB / 1.386 GB, free: 1.816 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.0005925/1.363, allocations: 491.8 kB / 1.387 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/1.363, allocations: 16.03 kB / 1.387 GB, free: 1.293 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.648e-05/1.363, allocations: 34.55 kB / 1.387 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/1.363, allocations: 39.58 kB / 1.387 GB, free: 1.211 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005513/1.364, allocations: 367.3 kB / 1.387 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/1.364, allocations: 11.56 kB / 1.387 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.334e-05/1.364, allocations: 30.73 kB / 1.387 GB, free: 0.8164 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003208/1.364, allocations: 181.3 kB / 1.388 GB, free: 0.6484 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/1.364, allocations: 7.938 kB / 1.388 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/1.364, allocations: 0 / 1.388 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/1.364, allocations: 0 / 1.388 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001683/1.364, allocations: 121.2 kB / 1.388 GB, free: 0.5469 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003888/1.365, allocations: 396 kB / 1.388 GB, free: 172 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004124/1.365, allocations: 319.5 kB / 1.388 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000157/1.365, allocations: 124.1 kB / 1.388 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.738e-06/1.365, allocations: 0 / 1.388 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003581/1.366, allocations: 288.8 kB / 1.389 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 1.402e-06/1.366, allocations: 0 / 1.389 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.0005986/1.366, allocations: 403 kB / 1.389 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.321e-05/1.366, allocations: 121.7 kB / 1.389 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003559/1.367, allocations: 358.1 kB / 1.39 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.181e-05/1.367, allocations: 41.83 kB / 1.39 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/1.367, allocations: 164.6 kB / 1.39 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.054e-05/1.367, allocations: 37.92 kB / 1.39 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.45e-05/1.367, allocations: 7.688 kB / 1.39 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001205/1.367, allocations: 341.7 kB / 1.39 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/1.367, allocations: 81.78 kB / 1.39 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004615/1.368, allocations: 474.5 kB / 1.391 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001759/1.368, allocations: 137.9 kB / 1.391 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/1.368, allocations: 0 / 1.391 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004568/1.368, allocations: 329.8 kB / 1.391 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/1.368, allocations: 11.98 kB / 1.391 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/1.368, allocations: 4 kB / 1.391 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/1.368, allocations: 4 kB / 1.391 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/1.369, allocations: 32.33 kB / 1.391 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/1.369, allocations: 8 kB / 1.391 GB, free: 13.15 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005969/1.369, allocations: 49.91 kB / 1.391 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-05/1.369, allocations: 23.7 kB / 1.391 GB, free: 13.09 MB / 0.8542 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.0001246/1.369, allocations: 141.4 kB / 1.391 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.157e-05/1.369, allocations: 27.7 kB / 1.391 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.383e-05/1.37, allocations: 32.7 kB / 1.391 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/1.37, allocations: 4 kB / 1.391 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/1.37, allocations: 0 / 1.391 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/1.37, allocations: 0 / 1.391 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002468/1.37, allocations: 293.9 kB / 1.392 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/1.37, allocations: 0 / 1.392 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.793e-05/1.37, allocations: 12.05 kB / 1.392 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/1.37, allocations: 0 / 1.392 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/1.37, allocations: 11.94 kB / 1.392 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/1.37, allocations: 8 kB / 1.392 GB, free: 12.56 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/1.37, allocations: 0 / 1.392 GB, free: 12.56 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005369/1.37, allocations: 458.6 kB / 1.392 GB, free: 12.15 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/1.371, allocations: 116.2 kB / 1.392 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.56e-05/1.371, allocations: 7.062 kB / 1.392 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.358e-05/1.371, allocations: 7.984 kB / 1.392 GB, free: 12.01 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.446e-05/1.371, allocations: 19.12 kB / 1.392 GB, free: 11.99 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.811e-05/1.371, allocations: 19.06 kB / 1.392 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002908/1.371, allocations: 288 kB / 1.393 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.61e-07/1.371, allocations: 0 / 1.393 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003972/1.372, allocations: 82.12 kB / 1.393 GB, free: 11.68 MB / 0.8542 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.0009116/1.372, allocations: 1.17 MB / 1.394 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003759/1.373, allocations: 254 kB / 1.394 GB, free: 10.34 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/1.373, allocations: 0 / 1.394 GB, free: 10.34 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001806/1.373, allocations: 146.2 kB / 1.394 GB, free: 10.24 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001883/1.373, allocations: 20.09 kB / 1.394 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009239/1.374, allocations: 0.5396 MB / 1.395 GB, free: 9.715 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003514/1.375, allocations: 0.7744 MB / 1.395 GB, free: 8.922 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001411/1.375, allocations: 50.25 kB / 1.396 GB, free: 8.871 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/1.375, allocations: 86.16 kB / 1.396 GB, free: 8.84 MB / 0.8542 GB Notification: Performance of SimCode: time 2.41e-07/1.375, allocations: 0 / 1.396 GB, free: 8.84 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01854/1.393, allocations: 7.242 MB / 1.403 GB, free: 1.879 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001948/1.394, allocations: 197.3 kB / 1.403 GB, free: 1.648 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.989/3.383, allocations: 7.203 kB / 1.403 GB, free: 1.645 MB / 0.8542 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