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.158/2.158, allocations: 387.1 MB / 399.7 MB, free: 9.512 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.001025/0.001025, allocations: 184.1 kB / 492.3 MB, free: 0.625 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.543/1.543, allocations: 221.3 MB / 0.7872 GB, free: 12.93 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.0008931/0.000893, allocations: 83.2 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.006e-05/3.029e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3099, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9123/1.222, allocations: 149.3 MB / 1.358 GB, free: 19.07 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002585/1.223, allocations: 72.77 kB / 1.358 GB, free: 19.07 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05574/1.278, allocations: 21.36 MB / 1.379 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.283e-06/1.278, allocations: 0 / 1.379 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.959e-05/1.278, allocations: 7.688 kB / 1.379 GB, free: 32.59 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.0005733/1.279, allocations: 493.5 kB / 1.38 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/1.279, allocations: 15.5 kB / 1.38 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001058/1.279, allocations: 27.22 kB / 1.38 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005663/1.28, allocations: 380.4 kB / 1.38 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/1.28, allocations: 14.41 kB / 1.38 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.106e-05/1.28, allocations: 19.03 kB / 1.38 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000289/1.28, allocations: 188.5 kB / 1.38 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/1.28, allocations: 0 / 1.38 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.163e-05/1.28, allocations: 3.844 kB / 1.38 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/1.28, allocations: 4 kB / 1.38 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001516/1.28, allocations: 113.9 kB / 1.38 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003618/1.281, allocations: 397.7 kB / 1.381 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003715/1.281, allocations: 321.1 kB / 1.381 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/1.281, allocations: 130.1 kB / 1.381 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/1.281, allocations: 3.844 kB / 1.381 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003376/1.282, allocations: 283.4 kB / 1.381 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=18): time 1.292e-06/1.282, allocations: 0 / 1.381 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18): time 0.000635/1.282, allocations: 410.6 kB / 1.382 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/1.282, allocations: 106.6 kB / 1.382 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003283/1.283, allocations: 355.1 kB / 1.382 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.973e-05/1.283, allocations: 48.19 kB / 1.382 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/1.283, allocations: 154.3 kB / 1.382 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.928e-05/1.283, allocations: 36.78 kB / 1.382 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.175e-05/1.283, allocations: 5.875 kB / 1.382 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001058/1.283, allocations: 351.2 kB / 1.383 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/1.283, allocations: 83.81 kB / 1.383 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003735/1.283, allocations: 469 kB / 1.383 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/1.284, allocations: 143.5 kB / 1.383 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/1.284, allocations: 0 / 1.383 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004025/1.284, allocations: 335.5 kB / 1.384 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/1.284, allocations: 4.938 kB / 1.384 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/1.284, allocations: 3.844 kB / 1.384 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/1.284, allocations: 7.688 kB / 1.384 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/1.284, allocations: 34.97 kB / 1.384 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.404e-05/1.284, allocations: 7.688 kB / 1.384 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005826/1.285, allocations: 46.92 kB / 1.384 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-05/1.285, allocations: 18.61 kB / 1.384 GB, free: 29.68 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.0001397/1.285, allocations: 137.4 kB / 1.384 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.895e-05/1.285, allocations: 27.09 kB / 1.384 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.862e-05/1.285, allocations: 38.17 kB / 1.384 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/1.285, allocations: 3.938 kB / 1.384 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/1.285, allocations: 7.828 kB / 1.384 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/1.285, allocations: 0 / 1.384 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002305/1.285, allocations: 294.5 kB / 1.384 GB, free: 29.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/1.285, allocations: 0 / 1.384 GB, free: 29.28 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.482e-05/1.286, allocations: 3.844 kB / 1.384 GB, free: 29.28 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/1.286, allocations: 0 / 1.384 GB, free: 29.28 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/1.286, allocations: 15.27 kB / 1.384 GB, free: 29.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/1.286, allocations: 3.875 kB / 1.384 GB, free: 29.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/1.286, allocations: 4.125 kB / 1.384 GB, free: 29.27 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004441/1.286, allocations: 464.2 kB / 1.385 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.27e-05/1.286, allocations: 115.4 kB / 1.385 GB, free: 28.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.379e-05/1.286, allocations: 7.344 kB / 1.385 GB, free: 28.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.625e-05/1.286, allocations: 4 kB / 1.385 GB, free: 28.97 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.751e-05/1.286, allocations: 22.94 kB / 1.385 GB, free: 28.96 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.438e-05/1.286, allocations: 19.08 kB / 1.385 GB, free: 28.96 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002407/1.287, allocations: 286 kB / 1.385 GB, free: 28.84 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.41e-07/1.287, allocations: 3.719 kB / 1.385 GB, free: 28.84 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003909/1.287, allocations: 79.03 kB / 1.385 GB, free: 28.84 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.000244/1.287, allocations: 160.8 kB / 1.386 GB, free: 28.72 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.00034/1.288, allocations: 251 kB / 1.386 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.288, allocations: 3.844 kB / 1.386 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001549/1.288, allocations: 141.2 kB / 1.386 GB, free: 28.67 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002108/1.288, allocations: 22.95 kB / 1.386 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006125/1.289, allocations: 451.6 kB / 1.386 GB, free: 28.48 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003301/1.289, allocations: 0.7674 MB / 1.387 GB, free: 27.75 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001412/1.289, allocations: 52.44 kB / 1.387 GB, free: 27.74 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.2e-05/1.289, allocations: 29.2 kB / 1.387 GB, free: 27.73 MB / 0.8386 GB Notification: Performance of SimCode: time 4.31e-07/1.289, allocations: 0 / 1.387 GB, free: 27.73 MB / 0.8386 GB Notification: Performance of Templates: time 0.007297/1.296, allocations: 4.626 MB / 1.392 GB, free: 25.47 MB / 0.8386 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