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.493/1.493, allocations: 249.5 MB / 257 MB, free: 6.922 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.001053/0.001053, allocations: 180.5 kB / 316.3 MB, free: 3.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.571/1.571, allocations: 205.3 MB / 0.5671 GB, free: 15.82 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.0008843/0.0008843, allocations: 92.28 kB / 0.6714 GB, free: 4.941 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.548e-05/2.55e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.251, allocations: 106.3 MB / 0.8853 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.815/1.066, allocations: 135.3 MB / 1.017 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002354/1.066, allocations: 82.61 kB / 1.017 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.05997/1.126, allocations: 22.49 MB / 1.039 GB, free: 15.65 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.573e-06/1.126, allocations: 0 / 1.039 GB, free: 15.65 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 5.49e-05/1.126, allocations: 19.98 kB / 1.039 GB, free: 15.63 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.001116/1.128, allocations: 0.7569 MB / 1.04 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/1.128, allocations: 8.031 kB / 1.04 GB, free: 14.85 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001415/1.128, allocations: 71.06 kB / 1.04 GB, free: 14.78 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001237/1.129, allocations: 0.6405 MB / 1.041 GB, free: 14.19 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/1.129, allocations: 8 kB / 1.041 GB, free: 14.18 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.36e-05/1.129, allocations: 15.11 kB / 1.041 GB, free: 14.17 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001825/1.129, allocations: 85.47 kB / 1.041 GB, free: 14.11 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000295/1.13, allocations: 190.3 kB / 1.041 GB, free: 13.95 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/1.13, allocations: 0 / 1.041 GB, free: 13.95 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.237e-05/1.13, allocations: 11.61 kB / 1.041 GB, free: 13.94 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/1.13, allocations: 4 kB / 1.041 GB, free: 13.93 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001261/1.131, allocations: 1.049 MB / 1.042 GB, free: 12.99 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000352/1.131, allocations: 257.5 kB / 1.042 GB, free: 12.75 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001423/1.131, allocations: 91.81 kB / 1.043 GB, free: 12.67 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/1.131, allocations: 8 kB / 1.043 GB, free: 12.66 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003114/1.132, allocations: 213.5 kB / 1.043 GB, free: 12.46 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=25): time 1.643e-06/1.132, allocations: 0 / 1.043 GB, free: 12.46 MB / 0.6667 GB Notification: Performance of matching and sorting (n=25): time 0.0006142/1.132, allocations: 331.8 kB / 1.043 GB, free: 12.2 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.086e-05/1.133, allocations: 166.1 kB / 1.043 GB, free: 12 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001131/1.134, allocations: 0.8718 MB / 1.044 GB, free: 11.34 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.406e-05/1.134, allocations: 25.7 kB / 1.044 GB, free: 11.3 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002556/1.134, allocations: 282.4 kB / 1.044 GB, free: 11.16 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 7.589e-05/1.134, allocations: 74.14 kB / 1.044 GB, free: 11.1 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-05/1.134, allocations: 4 kB / 1.044 GB, free: 11.09 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000251/1.134, allocations: 387 kB / 1.045 GB, free: 10.74 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003251/1.135, allocations: 227.5 kB / 1.045 GB, free: 10.59 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004356/1.135, allocations: 319.2 kB / 1.045 GB, free: 10.34 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004178/1.136, allocations: 264.6 kB / 1.046 GB, free: 10.17 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/1.136, allocations: 4 kB / 1.046 GB, free: 10.16 MB / 0.6667 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001126/1.137, allocations: 0.6785 MB / 1.046 GB, free: 9.637 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.811e-05/1.137, allocations: 8 kB / 1.046 GB, free: 9.629 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/1.137, allocations: 0 / 1.046 GB, free: 9.629 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.294e-05/1.137, allocations: 8 kB / 1.046 GB, free: 9.621 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004637/1.137, allocations: 118.8 kB / 1.046 GB, free: 9.512 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/1.137, allocations: 11.95 kB / 1.046 GB, free: 9.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003494/1.138, allocations: 31.67 kB / 1.046 GB, free: 9.469 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.405e-05/1.138, allocations: 38.17 kB / 1.046 GB, free: 9.438 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.0001703/1.138, allocations: 129.6 kB / 1.047 GB, free: 9.309 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/1.138, allocations: 71.16 kB / 1.047 GB, free: 9.238 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006741/1.139, allocations: 369.5 kB / 1.047 GB, free: 8.949 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/1.139, allocations: 4 kB / 1.047 GB, free: 8.945 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/1.139, allocations: 7.938 kB / 1.047 GB, free: 8.938 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/1.139, allocations: 7.938 kB / 1.047 GB, free: 8.93 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005544/1.139, allocations: 438.9 kB / 1.047 GB, free: 8.551 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/1.139, allocations: 4 kB / 1.047 GB, free: 8.547 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/1.139, allocations: 30.86 kB / 1.047 GB, free: 8.52 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.165e-05/1.139, allocations: 7.984 kB / 1.048 GB, free: 8.512 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.821e-05/1.14, allocations: 11.92 kB / 1.048 GB, free: 8.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/1.14, allocations: 4 kB / 1.048 GB, free: 8.496 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/1.14, allocations: 4 kB / 1.048 GB, free: 8.492 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005934/1.14, allocations: 430.5 kB / 1.048 GB, free: 8.086 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001944/1.14, allocations: 170.7 kB / 1.048 GB, free: 7.91 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.3e-05/1.14, allocations: 11.23 kB / 1.048 GB, free: 7.902 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000193/1.141, allocations: 23.67 kB / 1.048 GB, free: 7.883 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.096e-05/1.141, allocations: 19.47 kB / 1.048 GB, free: 7.867 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.227e-05/1.141, allocations: 12 kB / 1.048 GB, free: 7.855 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0006896/1.141, allocations: 0.5509 MB / 1.049 GB, free: 7.441 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.01e-07/1.141, allocations: 0 / 1.049 GB, free: 7.441 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0004838/1.142, allocations: 123.4 kB / 1.049 GB, free: 7.324 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.001007/1.143, allocations: 421.8 kB / 1.049 GB, free: 6.996 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0005781/1.144, allocations: 375.2 kB / 1.05 GB, free: 6.738 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/1.144, allocations: 0 / 1.05 GB, free: 6.738 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.000168/1.144, allocations: 107 kB / 1.05 GB, free: 6.664 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000908/1.145, allocations: 191.5 kB / 1.05 GB, free: 6.516 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/1.146, allocations: 0.8586 MB / 1.051 GB, free: 5.734 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005469/1.147, allocations: 0.9497 MB / 1.052 GB, free: 4.777 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002959/1.147, allocations: 113.5 kB / 1.052 GB, free: 4.664 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/1.147, allocations: 54.8 kB / 1.052 GB, free: 4.613 MB / 0.6667 GB Notification: Performance of SimCode: time 3.2e-07/1.147, allocations: 0 / 1.052 GB, free: 4.613 MB / 0.6667 GB Notification: Performance of Templates: time 0.01197/1.159, allocations: 6.77 MB / 1.058 GB, free: 13.91 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