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.TimeTable.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.TimeTable,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.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,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.TimeTable") [: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.606/1.606, allocations: 249.4 MB / 256.7 MB, free: 6.992 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.001014/0.001014, allocations: 181 kB / 316 MB, free: 3.531 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.456/1.456, allocations: 205.2 MB / 0.5667 GB, free: 15.6 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.0009684/0.0009683, allocations: 89.56 kB / 0.671 GB, free: 4.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.507e-06/9.537e-06, allocations: 4 kB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2456, allocations: 106.3 MB / 0.8846 GB, free: 12.6 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7103/0.956, allocations: 135.4 MB / 1.017 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002628/0.9563, allocations: 78.06 kB / 1.017 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.05839/1.015, allocations: 22.04 MB / 1.038 GB, free: 0.9297 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.248e-05/1.015, allocations: 12 kB / 1.038 GB, free: 0.918 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.001114/1.016, allocations: 0.7568 MB / 1.039 GB, free: 152 kB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/1.016, allocations: 11.97 kB / 1.039 GB, free: 140 kB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001495/1.016, allocations: 71.06 kB / 1.039 GB, free: 68 kB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001189/1.017, allocations: 0.6379 MB / 1.04 GB, free: 15.48 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/1.017, allocations: 11.19 kB / 1.04 GB, free: 15.47 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.029e-05/1.017, allocations: 8 kB / 1.04 GB, free: 15.46 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002049/1.018, allocations: 95.08 kB / 1.04 GB, free: 15.4 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002802/1.018, allocations: 190.7 kB / 1.04 GB, free: 15.23 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/1.018, allocations: 0 / 1.04 GB, free: 15.23 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.268e-05/1.018, allocations: 4 kB / 1.04 GB, free: 15.23 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/1.018, allocations: 8 kB / 1.04 GB, free: 15.22 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001264/1.019, allocations: 1.038 MB / 1.041 GB, free: 14.29 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000345/1.02, allocations: 253.6 kB / 1.041 GB, free: 14.05 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001422/1.02, allocations: 100.8 kB / 1.042 GB, free: 13.96 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/1.02, allocations: 7.906 kB / 1.042 GB, free: 13.95 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002602/1.02, allocations: 201.3 kB / 1.042 GB, free: 13.77 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=25): time 1.463e-06/1.02, allocations: 0 / 1.042 GB, free: 13.77 MB / 0.6667 GB Notification: Performance of matching and sorting (n=25): time 0.0005297/1.021, allocations: 277.1 kB / 1.042 GB, free: 13.54 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.722e-05/1.021, allocations: 169.6 kB / 1.042 GB, free: 13.34 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/1.022, allocations: 0.8683 MB / 1.043 GB, free: 12.68 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/1.022, allocations: 29.7 kB / 1.043 GB, free: 12.65 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/1.022, allocations: 176 kB / 1.043 GB, free: 12.5 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 6.448e-05/1.022, allocations: 68.41 kB / 1.043 GB, free: 12.45 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.818e-05/1.022, allocations: 0 / 1.043 GB, free: 12.45 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001845/1.022, allocations: 394.7 kB / 1.044 GB, free: 12.08 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003134/1.023, allocations: 229.9 kB / 1.044 GB, free: 11.94 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003852/1.023, allocations: 325.3 kB / 1.044 GB, free: 11.68 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003665/1.023, allocations: 258.1 kB / 1.044 GB, free: 11.51 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/1.023, allocations: 0 / 1.044 GB, free: 11.51 MB / 0.6667 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009961/1.024, allocations: 0.6892 MB / 1.045 GB, free: 10.97 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/1.024, allocations: 4 kB / 1.045 GB, free: 10.97 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/1.024, allocations: 4 kB / 1.045 GB, free: 10.96 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/1.024, allocations: 4 kB / 1.045 GB, free: 10.96 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004338/1.025, allocations: 118.1 kB / 1.045 GB, free: 10.85 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.938e-06/1.025, allocations: 4 kB / 1.045 GB, free: 10.85 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004194/1.025, allocations: 39.83 kB / 1.045 GB, free: 10.81 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-05/1.025, allocations: 33.98 kB / 1.045 GB, free: 10.78 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.0001319/1.026, allocations: 131.5 kB / 1.045 GB, free: 10.65 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/1.026, allocations: 71.06 kB / 1.045 GB, free: 10.58 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005474/1.026, allocations: 328.2 kB / 1.046 GB, free: 10.32 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/1.026, allocations: 8 kB / 1.046 GB, free: 10.32 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/1.026, allocations: 3.906 kB / 1.046 GB, free: 10.31 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/1.026, allocations: 3.984 kB / 1.046 GB, free: 10.31 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004742/1.027, allocations: 444.6 kB / 1.046 GB, free: 9.926 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/1.027, allocations: 3.938 kB / 1.046 GB, free: 9.922 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.749e-05/1.027, allocations: 31.67 kB / 1.046 GB, free: 9.895 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.391e-06/1.027, allocations: 3.984 kB / 1.046 GB, free: 9.891 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.54e-05/1.027, allocations: 7.984 kB / 1.046 GB, free: 9.883 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/1.027, allocations: 7.938 kB / 1.046 GB, free: 9.875 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/1.027, allocations: 4 kB / 1.046 GB, free: 9.871 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005104/1.027, allocations: 401.8 kB / 1.047 GB, free: 9.484 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001913/1.028, allocations: 170.5 kB / 1.047 GB, free: 9.309 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.205e-05/1.028, allocations: 7.562 kB / 1.047 GB, free: 9.305 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002033/1.028, allocations: 15.98 kB / 1.047 GB, free: 9.289 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.278e-05/1.028, allocations: 19.78 kB / 1.047 GB, free: 9.273 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.842e-05/1.028, allocations: 20.05 kB / 1.047 GB, free: 9.258 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0006438/1.029, allocations: 0.5512 MB / 1.047 GB, free: 8.844 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0004821/1.029, allocations: 123.3 kB / 1.048 GB, free: 8.727 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.0008485/1.03, allocations: 364.6 kB / 1.048 GB, free: 8.449 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0005444/1.031, allocations: 383.7 kB / 1.048 GB, free: 8.184 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/1.031, allocations: 3.938 kB / 1.048 GB, free: 8.18 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001603/1.031, allocations: 106.4 kB / 1.048 GB, free: 8.105 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008383/1.032, allocations: 181.9 kB / 1.049 GB, free: 7.969 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/1.033, allocations: 0.876 MB / 1.049 GB, free: 7.168 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007394/1.034, allocations: 0.9977 MB / 1.05 GB, free: 6.164 MB / 0.6667 GB Notification: Performance of SimCode: time 2.5e-07/1.034, allocations: 0 / 1.05 GB, free: 6.164 MB / 0.6667 GB Notification: Performance of Templates: time 0.01341/1.047, allocations: 6.534 MB / 1.057 GB, free: 15.69 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches