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.346/2.346, allocations: 393.5 MB / 408.4 MB, free: 10.86 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.001203/0.001202, allocations: 187.1 kB / 0.4901 GB, free: 2.082 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.642/1.642, allocations: 223.1 MB / 0.7992 GB, free: 14.65 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.001018/0.001018, allocations: 102.4 kB / 0.9396 GB, free: 1.879 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003522/0.0003523, allocations: 13.72 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3013, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1925/0.4939, allocations: 154 MB / 1.38 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002946/0.4942, allocations: 79.95 kB / 1.38 GB, free: 15.31 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.06442/0.5587, allocations: 23.79 MB / 1.403 GB, free: 7.48 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.924e-06/0.5587, allocations: 0 / 1.403 GB, free: 7.48 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 9.629e-05/0.5588, allocations: 16 kB / 1.403 GB, free: 7.465 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.00222/0.5611, allocations: 0.9695 MB / 1.404 GB, free: 6.441 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.5611, allocations: 8.031 kB / 1.404 GB, free: 6.434 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.115e-05/0.5612, allocations: 46.55 kB / 1.404 GB, free: 6.379 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002758/0.5615, allocations: 82.95 kB / 1.404 GB, free: 6.297 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001815/0.5633, allocations: 0.6865 MB / 1.405 GB, free: 5.57 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.959e-05/0.5634, allocations: 15.98 kB / 1.405 GB, free: 5.555 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.711e-05/0.5634, allocations: 12 kB / 1.405 GB, free: 5.543 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004226/0.5639, allocations: 204 kB / 1.405 GB, free: 5.324 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.5639, allocations: 3.938 kB / 1.405 GB, free: 5.32 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.424e-05/0.5639, allocations: 7.984 kB / 1.405 GB, free: 5.312 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.5639, allocations: 4 kB / 1.405 GB, free: 5.309 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002863/0.5642, allocations: 115.8 kB / 1.405 GB, free: 5.195 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001979/0.5662, allocations: 1.106 MB / 1.406 GB, free: 4.023 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006576/0.5669, allocations: 297.3 kB / 1.406 GB, free: 3.688 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.922e-05/0.5669, allocations: 4.078 kB / 1.406 GB, free: 3.684 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004861/0.5674, allocations: 240.4 kB / 1.407 GB, free: 3.422 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=25): time 2.395e-06/0.5674, allocations: 0 / 1.407 GB, free: 3.422 MB / 0.9011 GB Notification: Performance of matching and sorting (n=25): time 0.00121/0.5686, allocations: 448.5 kB / 1.407 GB, free: 2.977 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/0.5688, allocations: 162.2 kB / 1.407 GB, free: 2.781 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001552/0.5703, allocations: 0.957 MB / 1.408 GB, free: 1.812 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 4.972e-05/0.5704, allocations: 33.7 kB / 1.408 GB, free: 1.773 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002608/0.5706, allocations: 288.8 kB / 1.409 GB, free: 1.488 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 8.715e-05/0.5707, allocations: 79.09 kB / 1.409 GB, free: 1.41 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.299e-05/0.5708, allocations: 8 kB / 1.409 GB, free: 1.402 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.5709, allocations: 334 kB / 1.409 GB, free: 1.07 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000485/0.5715, allocations: 257.2 kB / 1.409 GB, free: 0.8203 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005408/0.572, allocations: 343 kB / 1.41 GB, free: 464 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000537/0.5726, allocations: 291.1 kB / 1.41 GB, free: 176 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.5726, allocations: 0 / 1.41 GB, free: 176 kB / 0.9011 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001386/0.574, allocations: 0.7654 MB / 1.411 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.574, allocations: 13.67 kB / 1.411 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.574, allocations: 4 kB / 1.411 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.574, allocations: 4 kB / 1.411 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004407/0.5745, allocations: 115.8 kB / 1.411 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.39e-05/0.5745, allocations: 4 kB / 1.411 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003768/0.5749, allocations: 47.75 kB / 1.411 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.242e-05/0.575, allocations: 35.98 kB / 1.411 GB, free: 15.18 MB / 0.9167 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 () * Number of clocked 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.0003673/0.5754, allocations: 276.5 kB / 1.411 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.5755, allocations: 79.05 kB / 1.411 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000812/0.5763, allocations: 407.1 kB / 1.411 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.5763, allocations: 4 kB / 1.411 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.006e-06/0.5763, allocations: 3.984 kB / 1.411 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.5764, allocations: 0 / 1.411 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005536/0.5769, allocations: 493.1 kB / 1.412 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.5769, allocations: 3.938 kB / 1.412 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.436e-05/0.577, allocations: 31.92 kB / 1.412 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/0.5771, allocations: 4 kB / 1.412 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.493e-05/0.5771, allocations: 11.98 kB / 1.412 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.5771, allocations: 3.953 kB / 1.412 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.5771, allocations: 4 kB / 1.412 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007488/0.5779, allocations: 470.8 kB / 1.412 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000268/0.5781, allocations: 176.1 kB / 1.413 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.252e-05/0.5782, allocations: 23.92 kB / 1.413 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000198/0.5784, allocations: 16.3 kB / 1.413 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.167e-05/0.5785, allocations: 23.97 kB / 1.413 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.909e-05/0.5786, allocations: 27.92 kB / 1.413 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0008204/0.5794, allocations: 0.6122 MB / 1.413 GB, free: 12.42 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5794, allocations: 0 / 1.413 GB, free: 12.42 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0005407/0.5799, allocations: 143.9 kB / 1.413 GB, free: 12.28 MB / 0.9167 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) * Number of clocked states: 0 () * 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.002173/0.5821, allocations: 1.686 MB / 1.415 GB, free: 10.72 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0007947/0.5829, allocations: 432.8 kB / 1.416 GB, free: 10.3 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.583, allocations: 0 / 1.416 GB, free: 10.3 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002543/0.5832, allocations: 119.8 kB / 1.416 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007839/0.584, allocations: 188.6 kB / 1.416 GB, free: 9.992 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003158/0.5872, allocations: 3.062 MB / 1.419 GB, free: 6.828 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005903/0.5878, allocations: 0.9483 MB / 1.42 GB, free: 5.852 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003276/0.5881, allocations: 113 kB / 1.42 GB, free: 5.742 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003377/0.5885, allocations: 236.3 kB / 1.42 GB, free: 5.512 MB / 0.9167 GB Notification: Performance of SimCode: time 4.71e-07/0.5885, allocations: 0 / 1.42 GB, free: 5.512 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5667/1.155, allocations: 13.87 MB / 1.434 GB, free: 181.1 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001622/1.155, allocations: 258.9 kB / 1.434 GB, free: 180.7 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.388/3.543, allocations: 1.719 kB / 1.434 GB, free: 180.7 MB / 0.9167 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