Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timTabLin.y.1.|timTabLinCon.y.1.|timTabCon.y.1.|timTabLinHol.y.1.|timTabLinDer.y.1.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timTabLin.y.1.|timTabLinCon.y.1.|timTabCon.y.1.|timTabLinHol.y.1.|timTabLinDer.y.1.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.749/1.749, allocations: 249.3 MB / 261.8 MB, free: 5.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001568/0.001568, allocations: 180.8 kB / 321.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.45/1.45, allocations: 205.2 MB / 0.572 GB, free: 10.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001031/0.001031, allocations: 100.5 kB / 0.6764 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.736e-05/3.763e-05, allocations: 4 kB / 0.788 GB, free: 97.05 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.2068, allocations: 106.3 MB / 0.8918 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7054/0.9123, allocations: 135.1 MB / 1.024 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/0.9126, allocations: 78.14 kB / 1.024 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.05988/0.9725, allocations: 22.71 MB / 1.046 GB, free: 12.45 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.415e-06/0.9726, allocations: 0 / 1.046 GB, free: 12.45 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 5.297e-05/0.9726, allocations: 15.94 kB / 1.046 GB, free: 12.43 MB / 0.6667 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.0009766/0.9736, allocations: 0.7503 MB / 1.047 GB, free: 11.66 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.9737, allocations: 12.03 kB / 1.047 GB, free: 11.65 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001251/0.9738, allocations: 75.06 kB / 1.047 GB, free: 11.58 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001151/0.975, allocations: 0.6415 MB / 1.047 GB, free: 10.99 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.975, allocations: 11.38 kB / 1.047 GB, free: 10.98 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.02e-05/0.975, allocations: 11.38 kB / 1.047 GB, free: 10.97 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003235/0.9754, allocations: 206 kB / 1.048 GB, free: 10.79 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.9754, allocations: 0 / 1.048 GB, free: 10.79 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.406e-05/0.9754, allocations: 7.312 kB / 1.048 GB, free: 10.79 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.9754, allocations: 4 kB / 1.048 GB, free: 10.79 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000185/0.9756, allocations: 98.52 kB / 1.048 GB, free: 10.72 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001338/0.977, allocations: 1.088 MB / 1.049 GB, free: 9.734 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003723/0.9774, allocations: 266 kB / 1.049 GB, free: 9.484 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000139/0.9775, allocations: 102.5 kB / 1.049 GB, free: 9.395 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.9775, allocations: 11.3 kB / 1.049 GB, free: 9.387 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003207/0.9779, allocations: 227.4 kB / 1.049 GB, free: 9.176 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=25): time 1.493e-06/0.9779, allocations: 0 / 1.049 GB, free: 9.176 MB / 0.6667 GB Notification: Performance of matching and sorting (n=25): time 0.0005958/0.9785, allocations: 335.5 kB / 1.05 GB, free: 8.906 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.551e-05/0.9786, allocations: 162.2 kB / 1.05 GB, free: 8.711 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/0.9798, allocations: 0.9209 MB / 1.051 GB, free: 8.004 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.382e-05/0.9799, allocations: 32.83 kB / 1.051 GB, free: 7.969 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002227/0.9801, allocations: 280.6 kB / 1.051 GB, free: 7.816 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 8.05e-05/0.9802, allocations: 75.58 kB / 1.051 GB, free: 7.754 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.16e-05/0.9802, allocations: 10.38 kB / 1.051 GB, free: 7.754 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001942/0.9804, allocations: 390.6 kB / 1.052 GB, free: 7.395 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003647/0.9808, allocations: 240.5 kB / 1.052 GB, free: 7.238 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000412/0.9812, allocations: 341.6 kB / 1.052 GB, free: 6.965 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003871/0.9816, allocations: 274.1 kB / 1.052 GB, free: 6.781 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.9816, allocations: 4 kB / 1.052 GB, free: 6.777 MB / 0.6667 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001088/0.9827, allocations: 0.7299 MB / 1.053 GB, free: 6.219 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.9827, allocations: 4 kB / 1.053 GB, free: 6.215 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.9828, allocations: 4 kB / 1.053 GB, free: 6.211 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.424e-05/0.9828, allocations: 8.266 kB / 1.053 GB, free: 6.203 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004976/0.9833, allocations: 115.7 kB / 1.053 GB, free: 6.094 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/0.9833, allocations: 4 kB / 1.053 GB, free: 6.09 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003548/0.9837, allocations: 57.64 kB / 1.053 GB, free: 6.043 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.642e-05/0.9838, allocations: 35.48 kB / 1.053 GB, free: 6.016 MB / 0.6667 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.0001478/0.9839, allocations: 141.7 kB / 1.053 GB, free: 5.883 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.984, allocations: 75.09 kB / 1.053 GB, free: 5.809 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006266/0.9847, allocations: 381.7 kB / 1.054 GB, free: 5.52 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.9847, allocations: 4 kB / 1.054 GB, free: 5.516 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.9847, allocations: 7.953 kB / 1.054 GB, free: 5.508 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.627e-06/0.9847, allocations: 7.984 kB / 1.054 GB, free: 5.5 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004632/0.9852, allocations: 478 kB / 1.054 GB, free: 5.078 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.9852, allocations: 0 / 1.054 GB, free: 5.078 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.316e-05/0.9853, allocations: 35.86 kB / 1.054 GB, free: 5.047 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.9853, allocations: 4 kB / 1.054 GB, free: 5.043 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.882e-05/0.9853, allocations: 14.8 kB / 1.054 GB, free: 5.031 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.9853, allocations: 4 kB / 1.054 GB, free: 5.027 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.9854, allocations: 0 / 1.054 GB, free: 5.027 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000541/0.9859, allocations: 451.1 kB / 1.055 GB, free: 4.605 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001671/0.9861, allocations: 169.8 kB / 1.055 GB, free: 4.43 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.438e-05/0.9862, allocations: 15.86 kB / 1.055 GB, free: 4.418 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001958/0.9864, allocations: 19.86 kB / 1.055 GB, free: 4.402 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.865e-05/0.9864, allocations: 23.66 kB / 1.055 GB, free: 4.383 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.9865, allocations: 14.61 kB / 1.055 GB, free: 4.371 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0007214/0.9872, allocations: 0.5843 MB / 1.056 GB, free: 3.93 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.61e-07/0.9872, allocations: 0 / 1.056 GB, free: 3.93 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0004624/0.9877, allocations: 132.1 kB / 1.056 GB, free: 3.812 MB / 0.6667 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.001065/0.9888, allocations: 454.8 kB / 1.056 GB, free: 3.469 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0006219/0.9894, allocations: 402.1 kB / 1.057 GB, free: 3.188 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.9894, allocations: 3.938 kB / 1.057 GB, free: 3.184 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001661/0.9896, allocations: 115.1 kB / 1.057 GB, free: 3.102 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008381/0.9904, allocations: 186.5 kB / 1.057 GB, free: 2.953 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.9918, allocations: 0.8903 MB / 1.058 GB, free: 2.148 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004554/0.9923, allocations: 0.9393 MB / 1.059 GB, free: 1.203 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0003182/0.9926, allocations: 117.5 kB / 1.059 GB, free: 1.09 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.9928, allocations: 55.05 kB / 1.059 GB, free: 1.039 MB / 0.6667 GB Notification: Performance of SimCode: time 4.51e-07/0.9928, allocations: 4 kB / 1.059 GB, free: 1.035 MB / 0.6667 GB Notification: Performance of Templates: time 0.01305/1.006, allocations: 7.363 MB / 1.066 GB, free: 9.742 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTableNegativeStartTime.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches