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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.754/1.754, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.001073/0.001073, allocations: 177.3 kB / 487 MB, free: 5.348 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.139/1.139, allocations: 221.3 MB / 0.7819 GB, free: 1.359 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008555/0.0008555, allocations: 97.48 kB / 0.9213 GB, free: 2.598 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.803e-06/7.063e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1852/0.1852, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5091/0.6943, allocations: 148.5 MB / 1.35 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001685/0.6946, allocations: 67.88 kB / 1.35 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.05428/0.7488, allocations: 20.67 MB / 1.371 GB, free: 7.441 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.35e-05/0.7489, allocations: 7.938 kB / 1.371 GB, free: 7.434 MB / 0.8073 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.0004261/0.7493, allocations: 495.1 kB / 1.371 GB, free: 6.922 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.971e-05/0.7494, allocations: 13.02 kB / 1.371 GB, free: 6.91 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.536e-05/0.7494, allocations: 27.72 kB / 1.371 GB, free: 6.883 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004317/0.7499, allocations: 377 kB / 1.371 GB, free: 6.516 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.7499, allocations: 0 / 1.371 GB, free: 6.516 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.787e-05/0.75, allocations: 27.14 kB / 1.371 GB, free: 6.492 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001412/0.7501, allocations: 108.2 kB / 1.372 GB, free: 6.41 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001995/0.7503, allocations: 195.4 kB / 1.372 GB, free: 6.23 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.7503, allocations: 0 / 1.372 GB, free: 6.23 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.813e-05/0.7504, allocations: 3.984 kB / 1.372 GB, free: 6.227 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.7504, allocations: 0 / 1.372 GB, free: 6.227 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002681/0.7506, allocations: 361.1 kB / 1.372 GB, free: 5.887 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003033/0.751, allocations: 321.2 kB / 1.372 GB, free: 5.602 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001277/0.7511, allocations: 130.9 kB / 1.373 GB, free: 5.488 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.033e-06/0.7511, allocations: 7.938 kB / 1.373 GB, free: 5.48 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002146/0.7513, allocations: 234 kB / 1.373 GB, free: 5.27 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=18): time 1.202e-06/0.7513, allocations: 4 kB / 1.373 GB, free: 5.266 MB / 0.8073 GB Notification: Performance of matching and sorting (n=18): time 0.0004379/0.7518, allocations: 306 kB / 1.373 GB, free: 5.012 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.708e-05/0.7518, allocations: 114.4 kB / 1.373 GB, free: 4.883 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002579/0.7521, allocations: 340.4 kB / 1.373 GB, free: 4.602 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.339e-05/0.7521, allocations: 37.56 kB / 1.374 GB, free: 4.562 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.523e-05/0.7522, allocations: 111.6 kB / 1.374 GB, free: 4.453 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/0.7522, allocations: 34.7 kB / 1.374 GB, free: 4.422 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.1e-05/0.7522, allocations: 3.688 kB / 1.374 GB, free: 4.422 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.709e-05/0.7523, allocations: 348.8 kB / 1.374 GB, free: 4.082 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.654e-05/0.7524, allocations: 85.53 kB / 1.374 GB, free: 4.02 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002546/0.7526, allocations: 456.1 kB / 1.375 GB, free: 3.484 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003577/0.753, allocations: 167.6 kB / 1.375 GB, free: 3.344 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.753, allocations: 0 / 1.375 GB, free: 3.344 MB / 0.8073 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005415/0.7536, allocations: 348.6 kB / 1.375 GB, free: 3.039 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.248e-06/0.7536, allocations: 6.812 kB / 1.375 GB, free: 3.035 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.7536, allocations: 7.938 kB / 1.375 GB, free: 3.027 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.7536, allocations: 8 kB / 1.375 GB, free: 3.02 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.7537, allocations: 27.92 kB / 1.375 GB, free: 2.992 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.7537, allocations: 4 kB / 1.375 GB, free: 2.988 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005963/0.7543, allocations: 48.19 kB / 1.375 GB, free: 2.941 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.77e-05/0.7544, allocations: 15.75 kB / 1.375 GB, free: 2.93 MB / 0.8073 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 8.344e-05/0.7545, allocations: 127.3 kB / 1.375 GB, free: 2.801 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.478e-05/0.7545, allocations: 31.61 kB / 1.375 GB, free: 2.77 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.897e-05/0.7546, allocations: 33.52 kB / 1.375 GB, free: 2.742 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.7546, allocations: 8 kB / 1.375 GB, free: 2.734 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.7546, allocations: 0 / 1.375 GB, free: 2.734 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.696e-06/0.7546, allocations: 7.938 kB / 1.375 GB, free: 2.727 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/0.7547, allocations: 264 kB / 1.376 GB, free: 2.465 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.7547, allocations: 0 / 1.376 GB, free: 2.465 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.328e-05/0.7548, allocations: 7.062 kB / 1.376 GB, free: 2.461 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.7548, allocations: 0 / 1.376 GB, free: 2.461 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.7548, allocations: 7.984 kB / 1.376 GB, free: 2.453 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.7548, allocations: 0 / 1.376 GB, free: 2.453 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.7548, allocations: 4 kB / 1.376 GB, free: 2.449 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003453/0.7551, allocations: 367.3 kB / 1.376 GB, free: 2.113 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.534e-05/0.7552, allocations: 108.7 kB / 1.376 GB, free: 1.988 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.283e-05/0.7553, allocations: 7.984 kB / 1.376 GB, free: 1.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.092e-05/0.7554, allocations: 3.375 kB / 1.376 GB, free: 1.98 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.165e-05/0.7554, allocations: 15.11 kB / 1.376 GB, free: 1.969 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-05/0.7554, allocations: 19.98 kB / 1.376 GB, free: 1.949 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001801/0.7556, allocations: 272.9 kB / 1.376 GB, free: 1.73 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003185/0.7559, allocations: 79.8 kB / 1.376 GB, free: 1.656 MB / 0.8073 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.0001577/0.7561, allocations: 150.5 kB / 1.377 GB, free: 1.504 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002719/0.7564, allocations: 243.4 kB / 1.377 GB, free: 1.312 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.7564, allocations: 8.062 kB / 1.377 GB, free: 1.305 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.7565, allocations: 145.8 kB / 1.377 GB, free: 1.207 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001632/0.7567, allocations: 20.92 kB / 1.377 GB, free: 1.195 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005455/0.7572, allocations: 456.5 kB / 1.377 GB, free: 0.7773 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002322/0.7575, allocations: 0.8039 MB / 1.378 GB, free: 15.95 MB / 0.823 GB Notification: Performance of SimCode: time 2.5e-07/0.7575, allocations: 0 / 1.378 GB, free: 15.95 MB / 0.823 GB Notification: Performance of Templates: time 0.00693/0.7644, allocations: 4.249 MB / 1.382 GB, free: 11.77 MB / 0.823 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