Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.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.Continuous.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTableNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_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.234/2.234, allocations: 390.5 MB / 398 MB, free: 10.94 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.001032/0.001033, allocations: 183.1 kB / 491.2 MB, free: 1.57 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.655/1.655, allocations: 221.5 MB / 0.7868 GB, free: 13.34 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.0009191/0.000919, allocations: 83.34 kB / 0.9269 GB, free: 13.84 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.44e-05/2.44e-05, allocations: 7.984 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3216, allocations: 143 MB / 1.212 GB, free: 39.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.038/1.36, allocations: 153.3 MB / 1.362 GB, free: 17.54 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002035/1.36, allocations: 79.91 kB / 1.362 GB, free: 17.54 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05536/1.415, allocations: 23.55 MB / 1.385 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.092e-06/1.415, allocations: 0 / 1.385 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.898e-05/1.415, allocations: 26 kB / 1.385 GB, free: 29.03 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009153/1.416, allocations: 0.765 MB / 1.386 GB, free: 28.4 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/1.416, allocations: 11.5 kB / 1.386 GB, free: 28.4 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001187/1.416, allocations: 77.55 kB / 1.386 GB, free: 28.36 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/1.418, allocations: 0.6881 MB / 1.387 GB, free: 27.97 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/1.418, allocations: 11.8 kB / 1.387 GB, free: 27.96 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.683e-05/1.418, allocations: 15.06 kB / 1.387 GB, free: 27.96 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001625/1.418, allocations: 87.3 kB / 1.387 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002245/1.418, allocations: 193.7 kB / 1.387 GB, free: 27.84 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/1.418, allocations: 3.984 kB / 1.387 GB, free: 27.84 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.935e-05/1.418, allocations: 0 / 1.387 GB, free: 27.84 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/1.418, allocations: 7.797 kB / 1.387 GB, free: 27.83 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001133/1.419, allocations: 1.078 MB / 1.388 GB, free: 27.09 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002467/1.42, allocations: 254 kB / 1.388 GB, free: 26.95 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/1.42, allocations: 99 kB / 1.388 GB, free: 26.89 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/1.42, allocations: 3.781 kB / 1.388 GB, free: 26.89 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002373/1.42, allocations: 223.5 kB / 1.389 GB, free: 26.76 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=25): time 1.493e-06/1.42, allocations: 0 / 1.389 GB, free: 26.76 MB / 0.8386 GB Notification: Performance of matching and sorting (n=25): time 0.0004634/1.42, allocations: 325.8 kB / 1.389 GB, free: 26.65 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/1.42, allocations: 161.9 kB / 1.389 GB, free: 26.46 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008902/1.421, allocations: 0.909 MB / 1.39 GB, free: 26.24 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/1.421, allocations: 29.67 kB / 1.39 GB, free: 26.21 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001763/1.422, allocations: 293.4 kB / 1.39 GB, free: 26.09 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.1e-05/1.422, allocations: 76.06 kB / 1.39 GB, free: 26.04 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.978e-05/1.422, allocations: 7.828 kB / 1.39 GB, free: 26.04 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001032/1.422, allocations: 323.6 kB / 1.391 GB, free: 25.73 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002605/1.422, allocations: 234.4 kB / 1.391 GB, free: 25.71 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002882/1.422, allocations: 326.1 kB / 1.391 GB, free: 25.59 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006188/1.423, allocations: 306.1 kB / 1.391 GB, free: 25.53 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/1.423, allocations: 0 / 1.391 GB, free: 25.53 MB / 0.8386 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001081/1.424, allocations: 0.7323 MB / 1.392 GB, free: 25.36 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/1.424, allocations: 7.562 kB / 1.392 GB, free: 25.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/1.424, allocations: 3.656 kB / 1.392 GB, free: 25.36 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/1.424, allocations: 11.75 kB / 1.392 GB, free: 25.35 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003668/1.425, allocations: 111.4 kB / 1.392 GB, free: 25.33 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/1.425, allocations: 11.7 kB / 1.392 GB, free: 25.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002685/1.425, allocations: 35.39 kB / 1.392 GB, free: 25.3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-05/1.425, allocations: 38.23 kB / 1.392 GB, free: 25.3 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition4,$PRE.timTabLinHol.tab.nextTimeEvent,$whenCondition3,$PRE.timTabLinDer.tab.nextTimeEvent,$whenCondition2,$PRE.timTabCon.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEvent,$PRE.timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,$PRE.timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * 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.000114/1.425, allocations: 132.9 kB / 1.393 GB, free: 25.18 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003953/1.425, allocations: 326.5 kB / 1.393 GB, free: 25.07 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.568e-05/1.425, allocations: 81.38 kB / 1.393 GB, free: 25.02 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004636/1.426, allocations: 365.3 kB / 1.393 GB, free: 24.92 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/1.426, allocations: 3.844 kB / 1.393 GB, free: 24.92 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/1.426, allocations: 0 / 1.393 GB, free: 24.92 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/1.426, allocations: 7.828 kB / 1.393 GB, free: 24.92 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003465/1.426, allocations: 448.3 kB / 1.394 GB, free: 24.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/1.426, allocations: 3.938 kB / 1.394 GB, free: 24.65 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.678e-05/1.426, allocations: 34.58 kB / 1.394 GB, free: 24.64 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/1.426, allocations: 3.844 kB / 1.394 GB, free: 24.64 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/1.426, allocations: 8.422 kB / 1.394 GB, free: 24.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/1.426, allocations: 3.953 kB / 1.394 GB, free: 24.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/1.427, allocations: 3.844 kB / 1.394 GB, free: 24.64 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004139/1.427, allocations: 448.9 kB / 1.394 GB, free: 24.39 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001341/1.427, allocations: 176.4 kB / 1.394 GB, free: 24.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.82e-05/1.427, allocations: 14.95 kB / 1.394 GB, free: 24.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001797/1.427, allocations: 15.52 kB / 1.394 GB, free: 24.23 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.738e-05/1.427, allocations: 23.22 kB / 1.394 GB, free: 24.22 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/1.427, allocations: 18.88 kB / 1.394 GB, free: 24.21 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0005285/1.428, allocations: 0.5679 MB / 1.395 GB, free: 24.07 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.61e-07/1.428, allocations: 4 kB / 1.395 GB, free: 24.06 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004253/1.428, allocations: 131.6 kB / 1.395 GB, free: 24.05 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$whenCondition4,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,$whenCondition3,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,$whenCondition2,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$whenCondition1,timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled) * Number of discrete states: 10 (timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001599/1.43, allocations: 1.564 MB / 1.397 GB, free: 22.86 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004485/1.43, allocations: 377.8 kB / 1.397 GB, free: 22.83 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.43, allocations: 0 / 1.397 GB, free: 22.83 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001308/1.431, allocations: 113.1 kB / 1.397 GB, free: 22.82 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008094/1.431, allocations: 196.7 kB / 1.397 GB, free: 22.76 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/1.433, allocations: 1.044 MB / 1.398 GB, free: 22.29 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005162/1.433, allocations: 0.9557 MB / 1.399 GB, free: 21.47 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002889/1.434, allocations: 114.8 kB / 1.399 GB, free: 21.42 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002966/1.434, allocations: 231.3 kB / 1.4 GB, free: 21.39 MB / 0.8386 GB Notification: Performance of SimCode: time 3.4e-07/1.434, allocations: 0 / 1.4 GB, free: 21.39 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03358/1.468, allocations: 12.98 MB / 1.412 GB, free: 10.79 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002404/1.468, allocations: 210.7 kB / 1.412 GB, free: 10.5 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.205/3.673, allocations: 6.141 kB / 1.412 GB, free: 10.5 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTableNegativeStartTime_fmu --startTime=-129600 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTableNegativeStartTime.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime_res.mat does not exist to compare? outputFormat=mat