Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timTabLin.y.1.|timTabLinCon.y.1.|timTabCon.y.1.|timTabLinHol.y.1.|timTabLinDer.y.1.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timTabLin.y.1.|timTabLinCon.y.1.|timTabCon.y.1.|timTabLinHol.y.1.|timTabLinDer.y.1.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.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 7.0.3-maint.7.0.x/package.mo): time 1.358/1.358, allocations: 249.4 MB / 256.7 MB, free: 6.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001279/0.001279, allocations: 181.3 kB / 316 MB, free: 3.52 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.5/1.5, allocations: 205.1 MB / 0.5667 GB, free: 15.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00107/0.00107, allocations: 94 kB / 0.671 GB, free: 4.762 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.648e-06/9.678e-06, allocations: 8 kB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.1866, allocations: 106.3 MB / 0.8846 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.471/0.6577, allocations: 135.4 MB / 1.017 GB, free: 3.258 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002205/0.658, allocations: 78.95 kB / 1.017 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.05892/0.7169, allocations: 22.04 MB / 1.038 GB, free: 0.8398 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.812e-05/0.717, allocations: 8 kB / 1.038 GB, free: 0.832 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001055/0.718, allocations: 0.7548 MB / 1.039 GB, free: 64 kB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.7181, allocations: 11.97 kB / 1.039 GB, free: 52 kB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001316/0.7182, allocations: 79.11 kB / 1.039 GB, free: 15.97 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/0.7193, allocations: 0.6392 MB / 1.04 GB, free: 15.38 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.7194, allocations: 7.984 kB / 1.04 GB, free: 15.38 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.234e-05/0.7194, allocations: 11.62 kB / 1.04 GB, free: 15.37 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002154/0.7196, allocations: 88.78 kB / 1.04 GB, free: 15.31 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002831/0.7199, allocations: 197.6 kB / 1.04 GB, free: 15.13 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.7199, allocations: 0 / 1.04 GB, free: 15.13 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.371e-05/0.72, allocations: 7.984 kB / 1.04 GB, free: 15.12 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.72, allocations: 0 / 1.04 GB, free: 15.12 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/0.7211, allocations: 1.041 MB / 1.041 GB, free: 14.19 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003037/0.7214, allocations: 249.6 kB / 1.041 GB, free: 13.96 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001322/0.7215, allocations: 101.4 kB / 1.042 GB, free: 13.87 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.7215, allocations: 11.89 kB / 1.042 GB, free: 13.86 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002457/0.7218, allocations: 194.3 kB / 1.042 GB, free: 13.68 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=25): time 1.372e-06/0.7218, allocations: 0 / 1.042 GB, free: 13.68 MB / 0.6667 GB Notification: Performance of matching and sorting (n=25): time 0.0004772/0.7223, allocations: 280.6 kB / 1.042 GB, free: 13.45 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.7224, allocations: 158.2 kB / 1.042 GB, free: 13.26 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.7234, allocations: 0.8715 MB / 1.043 GB, free: 12.6 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.7235, allocations: 33.64 kB / 1.043 GB, free: 12.56 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 9.977e-05/0.7236, allocations: 169.3 kB / 1.043 GB, free: 12.41 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 9.684e-05/0.7237, allocations: 67.97 kB / 1.043 GB, free: 12.36 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.149e-05/0.7237, allocations: 4 kB / 1.043 GB, free: 12.36 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.7239, allocations: 399.7 kB / 1.044 GB, free: 11.99 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003228/0.7242, allocations: 229.2 kB / 1.044 GB, free: 11.84 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003603/0.7246, allocations: 316 kB / 1.044 GB, free: 11.59 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003637/0.7249, allocations: 262.8 kB / 1.044 GB, free: 11.42 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.725, allocations: 0 / 1.044 GB, free: 11.42 MB / 0.6667 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009493/0.7259, allocations: 0.689 MB / 1.045 GB, free: 10.88 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.7259, allocations: 7.938 kB / 1.045 GB, free: 10.88 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.726, allocations: 4.156 kB / 1.045 GB, free: 10.87 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.726, allocations: 8 kB / 1.045 GB, free: 10.86 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004475/0.7264, allocations: 115.7 kB / 1.045 GB, free: 10.75 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.7265, allocations: 4 kB / 1.045 GB, free: 10.75 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003304/0.7268, allocations: 35.67 kB / 1.045 GB, free: 10.71 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.034e-05/0.7269, allocations: 34.98 kB / 1.045 GB, free: 10.69 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition4,$PRE.timTabLinHol.tab.nextTimeEvent,$whenCondition3,$PRE.timTabLinDer.tab.nextTimeEvent,$whenCondition2,$PRE.timTabCon.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEvent,$PRE.timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,$PRE.timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * 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.0001313/0.727, allocations: 140.3 kB / 1.045 GB, free: 10.55 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.7271, allocations: 78.56 kB / 1.045 GB, free: 10.47 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005443/0.7277, allocations: 314.1 kB / 1.046 GB, free: 10.23 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.7277, allocations: 4 kB / 1.046 GB, free: 10.23 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.7277, allocations: 7.906 kB / 1.046 GB, free: 10.22 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.7277, allocations: 7.922 kB / 1.046 GB, free: 10.21 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004217/0.7281, allocations: 446.1 kB / 1.046 GB, free: 9.828 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.7282, allocations: 0 / 1.046 GB, free: 9.828 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.636e-05/0.7283, allocations: 27.98 kB / 1.046 GB, free: 9.801 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/0.7283, allocations: 4 kB / 1.046 GB, free: 9.797 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.284e-05/0.7283, allocations: 11.48 kB / 1.046 GB, free: 9.789 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.7283, allocations: 11.94 kB / 1.046 GB, free: 9.777 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.7283, allocations: 3.938 kB / 1.046 GB, free: 9.773 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004982/0.7288, allocations: 397.8 kB / 1.047 GB, free: 9.391 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001661/0.729, allocations: 166.5 kB / 1.047 GB, free: 9.219 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.302e-05/0.7291, allocations: 11.17 kB / 1.047 GB, free: 9.211 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/0.7293, allocations: 19.98 kB / 1.047 GB, free: 9.191 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.304e-05/0.7294, allocations: 19.47 kB / 1.047 GB, free: 9.176 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.171e-05/0.7294, allocations: 15.75 kB / 1.047 GB, free: 9.164 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0005872/0.73, allocations: 0.5487 MB / 1.047 GB, free: 8.75 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.000436/0.7304, allocations: 119.3 kB / 1.048 GB, free: 8.637 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$whenCondition4,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,$whenCondition3,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,$whenCondition2,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$whenCondition1,timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled) * Number of discrete states: 10 (timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0006862/0.7311, allocations: 373.9 kB / 1.048 GB, free: 8.352 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.00053/0.7317, allocations: 388 kB / 1.048 GB, free: 8.082 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.7317, allocations: 0 / 1.048 GB, free: 8.082 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001551/0.7318, allocations: 102.5 kB / 1.048 GB, free: 8.012 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007651/0.7326, allocations: 181.8 kB / 1.049 GB, free: 7.871 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.734, allocations: 0.8812 MB / 1.049 GB, free: 7.066 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005867/0.7346, allocations: 0.9967 MB / 1.05 GB, free: 6.066 MB / 0.6667 GB Notification: Performance of SimCode: time 4.71e-07/0.7346, allocations: 0 / 1.05 GB, free: 6.066 MB / 0.6667 GB Notification: Performance of Templates: time 0.01196/0.7466, allocations: 6.549 MB / 1.057 GB, free: 15.59 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTableNegativeStartTime.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches