Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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: 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_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.356/2.356, allocations: 390.5 MB / 398 MB, free: 10.98 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.001224/0.001224, allocations: 175.4 kB / 491.2 MB, free: 1.621 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.59/1.59, allocations: 221.5 MB / 0.7868 GB, free: 13.38 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.001234/0.001234, allocations: 99.52 kB / 0.9269 GB, free: 13.87 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.745e-05/1.747e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3197, allocations: 143 MB / 1.212 GB, free: 39.56 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.106/1.425, allocations: 149.4 MB / 1.358 GB, free: 17.63 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002344/1.426, allocations: 72.62 kB / 1.358 GB, free: 17.63 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0559/1.482, allocations: 21.25 MB / 1.379 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.743e-06/1.482, allocations: 0 / 1.379 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.246e-05/1.482, allocations: 11.62 kB / 1.379 GB, free: 31.46 MB / 0.8386 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.0009042/1.483, allocations: 485.9 kB / 1.38 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/1.483, allocations: 15.53 kB / 1.38 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002124/1.483, allocations: 34.81 kB / 1.38 GB, free: 31 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006029/1.483, allocations: 368.1 kB / 1.38 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.885e-05/1.483, allocations: 3.984 kB / 1.38 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.619e-05/1.484, allocations: 15.56 kB / 1.38 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001736/1.484, allocations: 102.2 kB / 1.38 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002467/1.484, allocations: 197.7 kB / 1.38 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/1.484, allocations: 0 / 1.38 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.08e-05/1.484, allocations: 4 kB / 1.38 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/1.484, allocations: 3.781 kB / 1.38 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004064/1.484, allocations: 361.7 kB / 1.381 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003548/1.485, allocations: 313.6 kB / 1.381 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001413/1.485, allocations: 124 kB / 1.381 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/1.485, allocations: 2.812 kB / 1.381 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003467/1.485, allocations: 273.1 kB / 1.381 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=18): time 1.573e-06/1.485, allocations: 0 / 1.381 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18): time 0.0006464/1.486, allocations: 400.7 kB / 1.382 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/1.486, allocations: 110.7 kB / 1.382 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003684/1.486, allocations: 343.5 kB / 1.382 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.699e-05/1.487, allocations: 33.42 kB / 1.382 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/1.487, allocations: 150.7 kB / 1.382 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.082e-05/1.487, allocations: 47.92 kB / 1.382 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.14e-05/1.487, allocations: 0 / 1.382 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001592/1.487, allocations: 347.4 kB / 1.383 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/1.487, allocations: 81.52 kB / 1.383 GB, free: 29.19 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003318/1.487, allocations: 463.4 kB / 1.383 GB, free: 28.79 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004315/1.488, allocations: 153.8 kB / 1.383 GB, free: 28.74 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/1.488, allocations: 0 / 1.383 GB, free: 28.74 MB / 0.8386 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006207/1.488, allocations: 335 kB / 1.384 GB, free: 28.63 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/1.488, allocations: 7.719 kB / 1.384 GB, free: 28.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/1.488, allocations: 7.844 kB / 1.384 GB, free: 28.62 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/1.488, allocations: 7.594 kB / 1.384 GB, free: 28.62 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/1.489, allocations: 31.39 kB / 1.384 GB, free: 28.61 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/1.489, allocations: 7.844 kB / 1.384 GB, free: 28.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006078/1.489, allocations: 47.62 kB / 1.384 GB, free: 28.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.108e-05/1.489, allocations: 18.41 kB / 1.384 GB, free: 28.59 MB / 0.8386 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 () * 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.0001511/1.489, allocations: 137.8 kB / 1.384 GB, free: 28.46 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.263e-05/1.49, allocations: 23 kB / 1.384 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.889e-05/1.49, allocations: 35.67 kB / 1.384 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/1.49, allocations: 3.688 kB / 1.384 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/1.49, allocations: 0 / 1.384 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-06/1.49, allocations: 0 / 1.384 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002133/1.49, allocations: 269.5 kB / 1.384 GB, free: 28.22 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/1.49, allocations: 0 / 1.384 GB, free: 28.22 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.598e-05/1.49, allocations: 3.688 kB / 1.384 GB, free: 28.22 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/1.49, allocations: 0 / 1.384 GB, free: 28.22 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/1.49, allocations: 7.734 kB / 1.384 GB, free: 28.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/1.49, allocations: 3.688 kB / 1.384 GB, free: 28.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.49, allocations: 4 kB / 1.384 GB, free: 28.21 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000492/1.49, allocations: 456.2 kB / 1.385 GB, free: 28.03 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.104e-05/1.491, allocations: 115.6 kB / 1.385 GB, free: 27.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.852e-05/1.491, allocations: 3.812 kB / 1.385 GB, free: 27.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.197e-05/1.491, allocations: 7.984 kB / 1.385 GB, free: 27.91 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.338e-05/1.491, allocations: 18.86 kB / 1.385 GB, free: 27.91 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-05/1.491, allocations: 15.44 kB / 1.385 GB, free: 27.9 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002515/1.491, allocations: 277.5 kB / 1.385 GB, free: 27.79 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.491, allocations: 0 / 1.385 GB, free: 27.79 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004497/1.491, allocations: 73 kB / 1.385 GB, free: 27.79 MB / 0.8386 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 () * 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.0002637/1.492, allocations: 156.6 kB / 1.385 GB, free: 27.67 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003291/1.492, allocations: 236.7 kB / 1.386 GB, free: 27.64 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/1.492, allocations: 0 / 1.386 GB, free: 27.64 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001397/1.492, allocations: 138.4 kB / 1.386 GB, free: 27.62 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002201/1.492, allocations: 23.28 kB / 1.386 GB, free: 27.62 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000665/1.493, allocations: 445 kB / 1.386 GB, free: 27.43 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003981/1.494, allocations: 0.7743 MB / 1.387 GB, free: 26.7 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000169/1.494, allocations: 48.53 kB / 1.387 GB, free: 26.68 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.006e-05/1.494, allocations: 31.08 kB / 1.387 GB, free: 26.67 MB / 0.8386 GB Notification: Performance of SimCode: time 2.61e-07/1.494, allocations: 0 / 1.387 GB, free: 26.67 MB / 0.8386 GB Notification: Performance of Templates: time 0.007674/1.501, allocations: 4.212 MB / 1.391 GB, free: 24.63 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches