Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.273/2.273, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.00175/0.00175, allocations: 182.7 kB / 498.1 MB, free: 5.73 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.53/1.53, allocations: 223.2 MB / 0.7949 GB, free: 17.84 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.001107/0.001107, allocations: 107.9 kB / 0.9346 GB, free: 6.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003909/0.0003907, allocations: 11.97 kB / 1.084 GB, free: 221 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3155, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1932/0.5088, allocations: 153.2 MB / 1.373 GB, free: 8.746 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003036/0.5091, allocations: 79.95 kB / 1.373 GB, free: 8.668 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.06709/0.5763, allocations: 23.8 MB / 1.396 GB, free: 0.8359 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5763, allocations: 0 / 1.396 GB, free: 0.8359 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.061e-05/0.5764, allocations: 19.94 kB / 1.396 GB, free: 0.8164 MB / 0.8855 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.00203/0.5785, allocations: 0.9608 MB / 1.397 GB, free: 15.8 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.5785, allocations: 8.031 kB / 1.397 GB, free: 15.79 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002482/0.5788, allocations: 79.02 kB / 1.397 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001613/0.5804, allocations: 0.6904 MB / 1.398 GB, free: 14.98 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.775e-05/0.5804, allocations: 15.98 kB / 1.398 GB, free: 14.97 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.423e-05/0.5805, allocations: 12 kB / 1.398 GB, free: 14.96 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004018/0.5809, allocations: 201.8 kB / 1.398 GB, free: 14.74 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.5809, allocations: 4 kB / 1.398 GB, free: 14.73 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.256e-05/0.5809, allocations: 3.984 kB / 1.398 GB, free: 14.73 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.363e-06/0.5809, allocations: 8 kB / 1.398 GB, free: 14.72 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002749/0.5812, allocations: 119.8 kB / 1.398 GB, free: 14.61 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001624/0.5829, allocations: 1.102 MB / 1.399 GB, free: 13.44 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005832/0.5835, allocations: 293.3 kB / 1.399 GB, free: 13.11 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.5835, allocations: 4 kB / 1.399 GB, free: 13.1 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000449/0.5839, allocations: 237 kB / 1.399 GB, free: 12.84 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=25): time 2.976e-06/0.584, allocations: 0 / 1.399 GB, free: 12.84 MB / 0.9011 GB Notification: Performance of matching and sorting (n=25): time 0.001014/0.585, allocations: 448.4 kB / 1.4 GB, free: 12.4 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.723e-05/0.5851, allocations: 158.2 kB / 1.4 GB, free: 12.21 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001345/0.5864, allocations: 0.9531 MB / 1.401 GB, free: 11.25 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.53e-05/0.5865, allocations: 37.64 kB / 1.401 GB, free: 11.2 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002396/0.5867, allocations: 292.8 kB / 1.401 GB, free: 10.91 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 8.191e-05/0.5868, allocations: 83.08 kB / 1.401 GB, free: 10.83 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-05/0.5869, allocations: 16 kB / 1.401 GB, free: 10.82 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.587, allocations: 330 kB / 1.402 GB, free: 10.49 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004896/0.5875, allocations: 253.2 kB / 1.402 GB, free: 10.24 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005147/0.588, allocations: 350.9 kB / 1.402 GB, free: 9.867 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004995/0.5885, allocations: 283.7 kB / 1.403 GB, free: 9.594 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.5885, allocations: 0 / 1.403 GB, free: 9.594 MB / 0.9011 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001314/0.5899, allocations: 0.769 MB / 1.403 GB, free: 8.82 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.5899, allocations: 11.89 kB / 1.403 GB, free: 8.809 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.5899, allocations: 7.938 kB / 1.403 GB, free: 8.801 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/0.5899, allocations: 4 kB / 1.403 GB, free: 8.797 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004217/0.5904, allocations: 111.9 kB / 1.403 GB, free: 8.688 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.667e-05/0.5904, allocations: 11.94 kB / 1.403 GB, free: 8.676 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003624/0.5908, allocations: 43.89 kB / 1.403 GB, free: 8.633 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.424e-05/0.5909, allocations: 35.98 kB / 1.404 GB, free: 8.598 MB / 0.9011 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.0003795/0.5912, allocations: 278.9 kB / 1.404 GB, free: 8.316 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/0.5914, allocations: 71.06 kB / 1.404 GB, free: 8.246 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008199/0.5922, allocations: 407.2 kB / 1.404 GB, free: 7.836 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.5922, allocations: 8 kB / 1.404 GB, free: 7.828 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.5922, allocations: 0 / 1.404 GB, free: 7.828 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.5923, allocations: 7.984 kB / 1.404 GB, free: 7.82 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005274/0.5928, allocations: 481.1 kB / 1.405 GB, free: 7.301 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.5928, allocations: 4 kB / 1.405 GB, free: 7.297 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.5929, allocations: 31.92 kB / 1.405 GB, free: 7.266 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.5929, allocations: 4 kB / 1.405 GB, free: 7.262 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.5929, allocations: 7.984 kB / 1.405 GB, free: 7.254 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.593, allocations: 7.953 kB / 1.405 GB, free: 7.246 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.593, allocations: 0 / 1.405 GB, free: 7.246 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007087/0.5937, allocations: 483.3 kB / 1.405 GB, free: 6.719 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002383/0.5939, allocations: 168.1 kB / 1.405 GB, free: 6.535 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.911e-05/0.594, allocations: 15.98 kB / 1.405 GB, free: 6.52 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000197/0.5942, allocations: 19.98 kB / 1.405 GB, free: 6.5 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.802e-05/0.5943, allocations: 23.97 kB / 1.405 GB, free: 6.477 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.469e-05/0.5943, allocations: 12.3 kB / 1.405 GB, free: 6.465 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0008016/0.5951, allocations: 0.62 MB / 1.406 GB, free: 5.852 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.91e-07/0.5952, allocations: 0 / 1.406 GB, free: 5.852 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0005681/0.5957, allocations: 155.8 kB / 1.406 GB, free: 5.699 MB / 0.9011 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.00115/0.5969, allocations: 0.5075 MB / 1.407 GB, free: 5.371 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.000825/0.5977, allocations: 427.6 kB / 1.407 GB, free: 4.953 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.5977, allocations: 0 / 1.407 GB, free: 4.953 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002595/0.598, allocations: 123.9 kB / 1.407 GB, free: 4.832 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008216/0.5988, allocations: 189.3 kB / 1.407 GB, free: 4.645 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/0.6008, allocations: 1.254 MB / 1.409 GB, free: 3.348 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005554/0.6013, allocations: 0.9483 MB / 1.41 GB, free: 2.371 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003566/0.6017, allocations: 121.6 kB / 1.41 GB, free: 2.254 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001642/0.6019, allocations: 55.42 kB / 1.41 GB, free: 2.199 MB / 0.9011 GB Notification: Performance of SimCode: time 3.2e-07/0.6019, allocations: 0 / 1.41 GB, free: 2.199 MB / 0.9011 GB Notification: Performance of Templates: time 0.01507/0.617, allocations: 7.68 MB / 1.417 GB, free: 10.6 MB / 0.9167 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTableNegativeStartTime.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches