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.456/2.456, allocations: 393.5 MB / 408.4 MB, free: 10.97 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.00128/0.00128, allocations: 178.1 kB / 0.4902 GB, free: 2.242 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.839/1.839, allocations: 223.1 MB / 0.7992 GB, free: 14.62 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.001011/0.001012, allocations: 123.5 kB / 0.9396 GB, free: 1.828 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003521/0.0003521, allocations: 10.19 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.332, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2088/0.5408, allocations: 150.2 MB / 1.376 GB, free: 3.328 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003089/0.5412, allocations: 67.95 kB / 1.376 GB, free: 3.262 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.06563/0.6069, allocations: 21.35 MB / 1.397 GB, free: 13.87 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.994e-06/0.6069, allocations: 0 / 1.397 GB, free: 13.87 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.194e-05/0.607, allocations: 4 kB / 1.397 GB, free: 13.87 MB / 0.9011 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.001217/0.6082, allocations: 0.5452 MB / 1.397 GB, free: 13.27 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/0.6083, allocations: 12.55 kB / 1.397 GB, free: 13.26 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000218/0.6085, allocations: 27.72 kB / 1.397 GB, free: 13.23 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008266/0.6093, allocations: 375.3 kB / 1.398 GB, free: 12.82 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.243e-05/0.6094, allocations: 15.98 kB / 1.398 GB, free: 12.81 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.95e-05/0.6095, allocations: 23.98 kB / 1.398 GB, free: 12.79 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000347/0.6098, allocations: 196 kB / 1.398 GB, free: 12.58 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.6098, allocations: 0 / 1.398 GB, free: 12.58 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.021e-05/0.6099, allocations: 8 kB / 1.398 GB, free: 12.57 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.6099, allocations: 0 / 1.398 GB, free: 12.57 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001795/0.6101, allocations: 115.8 kB / 1.398 GB, free: 12.46 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005353/0.6106, allocations: 395 kB / 1.398 GB, free: 12.02 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004643/0.6111, allocations: 319.8 kB / 1.399 GB, free: 11.68 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.6111, allocations: 4.062 kB / 1.399 GB, free: 11.67 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004212/0.6115, allocations: 282.7 kB / 1.399 GB, free: 11.38 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=18): time 1.953e-06/0.6115, allocations: 0 / 1.399 GB, free: 11.38 MB / 0.9011 GB Notification: Performance of matching and sorting (n=18): time 0.0009206/0.6125, allocations: 0.501 MB / 1.4 GB, free: 10.87 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.749e-05/0.6126, allocations: 114.8 kB / 1.4 GB, free: 10.73 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004496/0.613, allocations: 359.7 kB / 1.4 GB, free: 10.37 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.134e-05/0.6131, allocations: 33.7 kB / 1.4 GB, free: 10.33 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.6133, allocations: 161.6 kB / 1.4 GB, free: 10.16 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 6.386e-05/0.6134, allocations: 43.53 kB / 1.4 GB, free: 10.12 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.136e-05/0.6134, allocations: 7.875 kB / 1.4 GB, free: 10.11 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.6135, allocations: 350.8 kB / 1.401 GB, free: 9.762 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.6137, allocations: 83.94 kB / 1.401 GB, free: 9.68 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005469/0.6142, allocations: 470.3 kB / 1.401 GB, free: 9.086 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002284/0.6145, allocations: 140.1 kB / 1.401 GB, free: 8.949 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.6145, allocations: 4 kB / 1.401 GB, free: 8.945 MB / 0.9011 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005431/0.6151, allocations: 329.1 kB / 1.402 GB, free: 8.617 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.6151, allocations: 8.938 kB / 1.402 GB, free: 8.609 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.6151, allocations: 4 kB / 1.402 GB, free: 8.605 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.6151, allocations: 4 kB / 1.402 GB, free: 8.602 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.6153, allocations: 31.92 kB / 1.402 GB, free: 8.57 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.6153, allocations: 11.94 kB / 1.402 GB, free: 8.559 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006866/0.616, allocations: 56.22 kB / 1.402 GB, free: 8.504 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.395e-05/0.6161, allocations: 16 kB / 1.402 GB, free: 8.488 MB / 0.9011 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.0002433/0.6163, allocations: 196.2 kB / 1.402 GB, free: 8.285 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.076e-05/0.6164, allocations: 27.75 kB / 1.402 GB, free: 8.258 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.658e-05/0.6165, allocations: 33.89 kB / 1.402 GB, free: 8.223 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.6165, allocations: 12.17 kB / 1.402 GB, free: 8.211 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.6165, allocations: 4 kB / 1.402 GB, free: 8.207 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.6165, allocations: 3.984 kB / 1.402 GB, free: 8.203 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003068/0.6168, allocations: 293.4 kB / 1.402 GB, free: 7.867 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.6168, allocations: 0 / 1.402 GB, free: 7.867 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.649e-05/0.6168, allocations: 4 kB / 1.402 GB, free: 7.863 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.6169, allocations: 0 / 1.402 GB, free: 7.863 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.198e-05/0.6169, allocations: 11.92 kB / 1.402 GB, free: 7.852 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.6169, allocations: 4 kB / 1.402 GB, free: 7.848 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.6169, allocations: 0 / 1.402 GB, free: 7.848 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006471/0.6176, allocations: 466.9 kB / 1.403 GB, free: 7.355 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.6177, allocations: 108.8 kB / 1.403 GB, free: 7.23 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.904e-05/0.6177, allocations: 7.984 kB / 1.403 GB, free: 7.223 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.913e-05/0.6178, allocations: 4 kB / 1.403 GB, free: 7.219 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.804e-05/0.6179, allocations: 19.94 kB / 1.403 GB, free: 7.199 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.289e-05/0.6179, allocations: 23.98 kB / 1.403 GB, free: 7.176 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0003248/0.6183, allocations: 287 kB / 1.403 GB, free: 6.895 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6183, allocations: 0 / 1.403 GB, free: 6.895 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0004618/0.6187, allocations: 95.86 kB / 1.403 GB, free: 6.801 MB / 0.9011 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.0003181/0.6191, allocations: 143.8 kB / 1.403 GB, free: 6.648 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0004457/0.6195, allocations: 260.3 kB / 1.404 GB, free: 6.395 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.6195, allocations: 0 / 1.404 GB, free: 6.395 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001984/0.6197, allocations: 151.9 kB / 1.404 GB, free: 6.246 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.62, allocations: 24.58 kB / 1.404 GB, free: 6.223 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009878/0.621, allocations: 0.5932 MB / 1.404 GB, free: 5.598 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003852/0.6214, allocations: 0.7716 MB / 1.405 GB, free: 4.797 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001678/0.6215, allocations: 49.94 kB / 1.405 GB, free: 4.742 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.707e-05/0.6216, allocations: 27.42 kB / 1.405 GB, free: 4.719 MB / 0.9011 GB Notification: Performance of SimCode: time 2.41e-07/0.6216, allocations: 3.938 kB / 1.405 GB, free: 4.715 MB / 0.9011 GB Notification: Performance of Templates: time 0.009514/0.6311, allocations: 4.607 MB / 1.41 GB, free: 176 kB / 0.9011 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