Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.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.Integers.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intTimTab.y.1.|intTimTab.y.2.|intTimTab1.y.1.|intTimTab1.y.2.|tabOneRow.y.1.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intTimTab.y.1.|intTimTab.y.2.|intTimTab1.y.1.|intTimTab1.y.2.|tabOneRow.y.1.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.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.19/2.19, allocations: 390.3 MB / 405.3 MB, free: 13.51 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.001087/0.001087, allocations: 173.2 kB / 498.1 MB, free: 5.746 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.57/1.57, allocations: 223.2 MB / 0.7949 GB, free: 17.99 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.0008575/0.0008573, allocations: 96.33 kB / 0.9346 GB, free: 6.297 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003796/0.0003797, allocations: 10.34 kB / 1.084 GB, free: 221 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3382, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1954/0.5336, allocations: 149.3 MB / 1.369 GB, free: 12.79 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/0.5339, allocations: 79.88 kB / 1.369 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.06053/0.5944, allocations: 21.36 MB / 1.39 GB, free: 7.316 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.705e-06/0.5945, allocations: 0 / 1.39 GB, free: 7.316 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.489e-05/0.5945, allocations: 4 kB / 1.39 GB, free: 7.312 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008981/0.5954, allocations: 0.5452 MB / 1.39 GB, free: 6.715 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.5955, allocations: 8.031 kB / 1.39 GB, free: 6.707 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001142/0.5956, allocations: 35.62 kB / 1.39 GB, free: 6.672 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006266/0.5962, allocations: 375.3 kB / 1.391 GB, free: 6.266 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.561e-05/0.5963, allocations: 16 kB / 1.391 GB, free: 6.25 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.838e-05/0.5964, allocations: 20 kB / 1.391 GB, free: 6.23 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003257/0.5967, allocations: 188.1 kB / 1.391 GB, free: 6.031 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.5967, allocations: 11.86 kB / 1.391 GB, free: 6.02 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.94e-05/0.5968, allocations: 0 / 1.391 GB, free: 6.02 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.5968, allocations: 0 / 1.391 GB, free: 6.02 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001604/0.5969, allocations: 111.9 kB / 1.391 GB, free: 5.91 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004255/0.5974, allocations: 403 kB / 1.391 GB, free: 5.461 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004386/0.5978, allocations: 319.8 kB / 1.392 GB, free: 5.121 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.049e-05/0.5978, allocations: 4 kB / 1.392 GB, free: 5.117 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004007/0.5982, allocations: 278.7 kB / 1.392 GB, free: 4.824 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=18): time 1.412e-06/0.5983, allocations: 4 kB / 1.392 GB, free: 4.82 MB / 0.8855 GB Notification: Performance of matching and sorting (n=18): time 0.0007812/0.599, allocations: 0.505 MB / 1.392 GB, free: 4.309 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.193e-05/0.5991, allocations: 110.8 kB / 1.393 GB, free: 4.176 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003961/0.5995, allocations: 359.7 kB / 1.393 GB, free: 3.816 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.034e-05/0.5996, allocations: 41.7 kB / 1.393 GB, free: 3.77 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.5997, allocations: 153.6 kB / 1.393 GB, free: 3.605 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.371e-05/0.5998, allocations: 39.45 kB / 1.393 GB, free: 3.566 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.347e-05/0.5998, allocations: 8 kB / 1.393 GB, free: 3.559 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.6, allocations: 350.8 kB / 1.393 GB, free: 3.207 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.6001, allocations: 83.95 kB / 1.393 GB, free: 3.125 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005028/0.6006, allocations: 486.7 kB / 1.394 GB, free: 2.516 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001803/0.6008, allocations: 136.9 kB / 1.394 GB, free: 2.383 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.6008, allocations: 0 / 1.394 GB, free: 2.383 MB / 0.8855 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004499/0.6013, allocations: 329 kB / 1.394 GB, free: 2.055 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.6013, allocations: 4.406 kB / 1.394 GB, free: 2.051 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.6013, allocations: 8 kB / 1.394 GB, free: 2.043 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.6013, allocations: 12 kB / 1.394 GB, free: 2.031 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.6015, allocations: 31.91 kB / 1.394 GB, free: 2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.6015, allocations: 7.938 kB / 1.394 GB, free: 1.992 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006355/0.6022, allocations: 52.05 kB / 1.395 GB, free: 1.941 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.53e-05/0.6022, allocations: 15.98 kB / 1.395 GB, free: 1.926 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.tabOneRow.y[1],tabOneRow.y[1],$PRE.tabOneRow.idx,tabOneRow.idx,$whenCondition10,$PRE.intTimTab1.y[1],intTimTab1.y[1],$PRE.intTimTab1.y[2],intTimTab1.y[2],$PRE.intTimTab1.idx,intTimTab1.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$PRE.intTimTab.y[1],intTimTab.y[1],$PRE.intTimTab.y[2],intTimTab.y[2],$PRE.intTimTab.idx,intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0002365/0.6025, allocations: 204.1 kB / 1.395 GB, free: 1.719 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.125e-05/0.6025, allocations: 23.72 kB / 1.395 GB, free: 1.695 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.945e-05/0.6026, allocations: 33.89 kB / 1.395 GB, free: 1.664 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.6026, allocations: 7.938 kB / 1.395 GB, free: 1.656 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.6026, allocations: 0 / 1.395 GB, free: 1.656 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.6026, allocations: 0 / 1.395 GB, free: 1.656 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002999/0.6029, allocations: 293.3 kB / 1.395 GB, free: 1.32 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.6029, allocations: 0 / 1.395 GB, free: 1.32 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.694e-05/0.603, allocations: 11.98 kB / 1.395 GB, free: 1.309 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.603, allocations: 4 kB / 1.395 GB, free: 1.305 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/0.603, allocations: 8 kB / 1.395 GB, free: 1.297 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.603, allocations: 0 / 1.395 GB, free: 1.297 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.603, allocations: 0 / 1.395 GB, free: 1.297 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005912/0.6036, allocations: 467.5 kB / 1.396 GB, free: 0.8047 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.6037, allocations: 120.7 kB / 1.396 GB, free: 0.668 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.644e-05/0.6038, allocations: 4 kB / 1.396 GB, free: 0.6641 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.688e-05/0.6039, allocations: 7.984 kB / 1.396 GB, free: 0.6562 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.21e-05/0.6039, allocations: 19.94 kB / 1.396 GB, free: 0.6367 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.647e-05/0.604, allocations: 15.98 kB / 1.396 GB, free: 0.6211 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003449/0.6043, allocations: 287 kB / 1.396 GB, free: 352 kB / 0.8855 GB Notification: Performance of sort global known variables: time 2e-07/0.6043, allocations: 0 / 1.396 GB, free: 352 kB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004446/0.6048, allocations: 84 kB / 1.396 GB, free: 268 kB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition10,tabOneRow.y[1],tabOneRow.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab1.y[1],intTimTab1.y[2],intTimTab1.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intTimTab.y[1],intTimTab.y[2],intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0002754/0.6051, allocations: 154.9 kB / 1.396 GB, free: 100 kB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004304/0.6055, allocations: 255.9 kB / 1.396 GB, free: 15.85 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.6055, allocations: 0.8125 kB / 1.396 GB, free: 15.85 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001891/0.6057, allocations: 147.9 kB / 1.397 GB, free: 15.7 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.6059, allocations: 20.66 kB / 1.397 GB, free: 15.68 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008788/0.6068, allocations: 0.5954 MB / 1.397 GB, free: 15.05 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/0.6072, allocations: 0.7716 MB / 1.398 GB, free: 14.26 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001535/0.6074, allocations: 50.16 kB / 1.398 GB, free: 14.21 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.524e-05/0.6074, allocations: 31.44 kB / 1.398 GB, free: 14.18 MB / 0.9011 GB Notification: Performance of SimCode: time 6.021e-06/0.6074, allocations: 4 kB / 1.398 GB, free: 14.17 MB / 0.9011 GB Notification: Performance of Templates: time 0.008805/0.6162, allocations: 4.601 MB / 1.403 GB, free: 9.609 MB / 0.9011 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches