Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.764/1.764, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.000963/0.0009628, allocations: 172.3 kB / 487 MB, free: 5.379 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.143/1.143, allocations: 221.3 MB / 0.7819 GB, free: 1.34 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.0008367/0.0008367, allocations: 96.44 kB / 0.9213 GB, free: 2.598 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.195e-06/8.296e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.1819, allocations: 142.3 MB / 1.205 GB, free: 26.21 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5158/0.6977, allocations: 152.4 MB / 1.354 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001947/0.698, allocations: 77.66 kB / 1.354 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.05139/0.7494, allocations: 23.09 MB / 1.377 GB, free: 2.199 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.249e-05/0.7494, allocations: 16 kB / 1.377 GB, free: 2.184 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.000804/0.7503, allocations: 0.7794 MB / 1.377 GB, free: 1.398 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.371e-05/0.7503, allocations: 9.031 kB / 1.377 GB, free: 1.391 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/0.7504, allocations: 71.06 kB / 1.378 GB, free: 1.32 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.7515, allocations: 0.6925 MB / 1.378 GB, free: 0.7031 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.7515, allocations: 11.28 kB / 1.378 GB, free: 0.6953 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/0.7515, allocations: 11.98 kB / 1.378 GB, free: 0.6836 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001572/0.7517, allocations: 89.91 kB / 1.378 GB, free: 0.625 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001992/0.7519, allocations: 200.8 kB / 1.379 GB, free: 460 kB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.7519, allocations: 0 / 1.379 GB, free: 460 kB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.7519, allocations: 7.984 kB / 1.379 GB, free: 452 kB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.566e-06/0.7519, allocations: 4 kB / 1.379 GB, free: 448 kB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009222/0.7529, allocations: 1.066 MB / 1.38 GB, free: 15.48 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002918/0.7532, allocations: 251.6 kB / 1.38 GB, free: 15.25 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/0.7533, allocations: 99.12 kB / 1.38 GB, free: 15.16 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.7533, allocations: 7.828 kB / 1.38 GB, free: 15.16 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002158/0.7535, allocations: 201.2 kB / 1.38 GB, free: 14.97 MB / 0.823 GB Notification: Performance of pre-optimization done (n=25): time 1.463e-06/0.7535, allocations: 0 / 1.38 GB, free: 14.97 MB / 0.823 GB Notification: Performance of matching and sorting (n=25): time 0.0004429/0.754, allocations: 276.7 kB / 1.38 GB, free: 14.75 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.7541, allocations: 165.3 kB / 1.381 GB, free: 14.55 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/0.7551, allocations: 0.9122 MB / 1.381 GB, free: 13.86 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.846e-05/0.7551, allocations: 25.7 kB / 1.381 GB, free: 13.83 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 8.884e-05/0.7552, allocations: 177.4 kB / 1.382 GB, free: 13.68 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 5.838e-05/0.7553, allocations: 77.84 kB / 1.382 GB, free: 13.62 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.847e-05/0.7553, allocations: 0 / 1.382 GB, free: 13.62 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.673e-05/0.7554, allocations: 327.8 kB / 1.382 GB, free: 13.3 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002939/0.7557, allocations: 234.8 kB / 1.382 GB, free: 13.15 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003417/0.756, allocations: 319.7 kB / 1.383 GB, free: 12.9 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007172/0.7568, allocations: 318.4 kB / 1.383 GB, free: 12.68 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/0.7568, allocations: 7.938 kB / 1.383 GB, free: 12.67 MB / 0.823 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001326/0.7581, allocations: 0.7468 MB / 1.384 GB, free: 12.08 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 9.668e-06/0.7581, allocations: 8.156 kB / 1.384 GB, free: 12.07 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.7581, allocations: 4 kB / 1.384 GB, free: 12.07 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.7582, allocations: 4 kB / 1.384 GB, free: 12.06 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004038/0.7586, allocations: 115.1 kB / 1.384 GB, free: 11.95 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.7586, allocations: 8 kB / 1.384 GB, free: 11.95 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002798/0.7589, allocations: 27.73 kB / 1.384 GB, free: 11.92 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-05/0.7589, allocations: 34.48 kB / 1.384 GB, free: 11.89 MB / 0.823 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.0001125/0.7591, allocations: 148.7 kB / 1.384 GB, free: 11.74 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.053e-05/0.7592, allocations: 75.06 kB / 1.384 GB, free: 11.67 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004897/0.7597, allocations: 322.8 kB / 1.384 GB, free: 11.42 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.7597, allocations: 8 kB / 1.384 GB, free: 11.41 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.7597, allocations: 0 / 1.384 GB, free: 11.41 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.7597, allocations: 3.984 kB / 1.384 GB, free: 11.41 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003715/0.7601, allocations: 454 kB / 1.385 GB, free: 11.03 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.7601, allocations: 4 kB / 1.385 GB, free: 11.02 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.007e-05/0.7602, allocations: 27.3 kB / 1.385 GB, free: 11 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.7602, allocations: 4 kB / 1.385 GB, free: 11 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.209e-05/0.7602, allocations: 7.984 kB / 1.385 GB, free: 10.99 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.7602, allocations: 4 kB / 1.385 GB, free: 10.98 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.7602, allocations: 0 / 1.385 GB, free: 10.98 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004284/0.7607, allocations: 412.3 kB / 1.385 GB, free: 10.59 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001528/0.7608, allocations: 170.1 kB / 1.385 GB, free: 10.41 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.647e-05/0.7609, allocations: 11.3 kB / 1.385 GB, free: 10.41 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002099/0.7611, allocations: 23.92 kB / 1.385 GB, free: 10.38 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.267e-05/0.7612, allocations: 22.09 kB / 1.385 GB, free: 10.37 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.186e-05/0.7612, allocations: 15.98 kB / 1.385 GB, free: 10.35 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0005843/0.7618, allocations: 0.5729 MB / 1.386 GB, free: 9.926 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004017/0.7622, allocations: 127.8 kB / 1.386 GB, free: 9.801 MB / 0.823 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.000645/0.7629, allocations: 399.9 kB / 1.386 GB, free: 9.523 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0004721/0.7634, allocations: 388.8 kB / 1.387 GB, free: 9.25 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.7634, allocations: 0 / 1.387 GB, free: 9.25 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.7635, allocations: 103.4 kB / 1.387 GB, free: 9.18 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007081/0.7642, allocations: 193.4 kB / 1.387 GB, free: 9.031 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/0.7655, allocations: 0.895 MB / 1.388 GB, free: 8.219 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005537/0.7661, allocations: 1.01 MB / 1.389 GB, free: 7.207 MB / 0.823 GB Notification: Performance of SimCode: time 2.5e-07/0.7661, allocations: 0 / 1.389 GB, free: 7.207 MB / 0.823 GB Notification: Performance of Templates: time 0.01232/0.7784, allocations: 6.817 MB / 1.396 GB, free: 0.5117 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTableNegativeStartTime.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches