Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.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.Ramp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp") [: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.765/1.765, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.0009442/0.0009441, allocations: 183.8 kB / 487 MB, free: 5.414 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.116/1.116, allocations: 221.3 MB / 0.7819 GB, free: 1.367 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.0008029/0.0008029, allocations: 95.12 kB / 0.9213 GB, free: 2.613 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.364e-06/7.384e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.1799, allocations: 142.3 MB / 1.205 GB, free: 26.21 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5139/0.6938, allocations: 147.9 MB / 1.35 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001488/0.6939, allocations: 70.27 kB / 1.35 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.0009108/0.6949, allocations: 235.3 kB / 1.35 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.6949, allocations: 0 / 1.35 GB, free: 15.82 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002298/0.6951, allocations: 328.9 kB / 1.35 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.6952, allocations: 9.125 kB / 1.35 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.405e-05/0.6952, allocations: 2.047 kB / 1.35 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.286e-05/0.6953, allocations: 174.5 kB / 1.35 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.6953, allocations: 0 / 1.35 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.903e-06/0.6953, allocations: 0.9688 kB / 1.35 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.279e-05/0.6953, allocations: 7.188 kB / 1.35 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.415e-05/0.6954, allocations: 34.22 kB / 1.35 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-06/0.6954, allocations: 0 / 1.35 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.6954, allocations: 1.312 kB / 1.35 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.626e-06/0.6954, allocations: 0 / 1.35 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.26e-05/0.6955, allocations: 136.9 kB / 1.351 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 2.818e-05/0.6956, allocations: 20.58 kB / 1.351 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.911e-05/0.6956, allocations: 12.47 kB / 1.351 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.6956, allocations: 1.375 kB / 1.351 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.243e-05/0.6956, allocations: 37.66 kB / 1.351 GB, free: 15 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.6956, allocations: 0 / 1.351 GB, free: 15 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1): time 9.475e-05/0.6957, allocations: 40.31 kB / 1.351 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.342e-05/0.6957, allocations: 52.78 kB / 1.351 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.129e-05/0.6958, allocations: 93.31 kB / 1.351 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.612e-06/0.6958, allocations: 25.7 kB / 1.351 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.116e-05/0.6958, allocations: 85.55 kB / 1.351 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.684e-05/0.6958, allocations: 3.906 kB / 1.351 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.184e-06/0.6958, allocations: 0 / 1.351 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.667e-05/0.6959, allocations: 313.5 kB / 1.351 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.137e-05/0.6959, allocations: 5.312 kB / 1.351 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.747e-06/0.6959, allocations: 2.75 kB / 1.351 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.099e-05/0.6959, allocations: 1.375 kB / 1.351 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.6959, allocations: 1.172 kB / 1.351 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.821e-05/0.696, allocations: 46.02 kB / 1.351 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.977e-06/0.696, allocations: 6.719 kB / 1.351 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.696, allocations: 0 / 1.351 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.796e-06/0.696, allocations: 5.312 kB / 1.351 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.268e-05/0.6961, allocations: 9.734 kB / 1.351 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-06/0.6961, allocations: 1.375 kB / 1.351 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.792e-05/0.6962, allocations: 13.67 kB / 1.351 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.6962, allocations: 0 / 1.351 GB, free: 14.33 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 3.548e-05/0.6962, allocations: 102.4 kB / 1.351 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.574e-06/0.6962, allocations: 5.281 kB / 1.351 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.783e-05/0.6963, allocations: 4.422 kB / 1.351 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.12e-07/0.6963, allocations: 0 / 1.351 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.6963, allocations: 1.219 kB / 1.351 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.6963, allocations: 1.219 kB / 1.351 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.293e-05/0.6963, allocations: 139.1 kB / 1.352 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.6963, allocations: 0 / 1.352 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.412e-05/0.6964, allocations: 10.67 kB / 1.352 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-06/0.6964, allocations: 0 / 1.352 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.6964, allocations: 7 kB / 1.352 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.6964, allocations: 0 / 1.352 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.6964, allocations: 0 / 1.352 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.425e-05/0.6965, allocations: 63.83 kB / 1.352 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.41e-05/0.6965, allocations: 86.48 kB / 1.352 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.009e-05/0.6965, allocations: 0 / 1.352 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.093e-05/0.6966, allocations: 9.656 kB / 1.352 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.757e-05/0.6966, allocations: 3.859 kB / 1.352 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.6966, allocations: 7.969 kB / 1.352 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.59e-05/0.6966, allocations: 86.08 kB / 1.352 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001531/0.6968, allocations: 6.688 kB / 1.352 GB, free: 13.8 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 8.056e-05/0.6969, allocations: 98.48 kB / 1.352 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.269e-05/0.6969, allocations: 5.656 kB / 1.352 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.6969, allocations: 0 / 1.352 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.525e-05/0.697, allocations: 6.469 kB / 1.352 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001187/0.6971, allocations: 6.969 kB / 1.352 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001353/0.6972, allocations: 56.64 kB / 1.352 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001764/0.6974, allocations: 0.6857 MB / 1.353 GB, free: 28.94 MB / 0.823 GB Notification: Performance of SimCode: time 2.2e-07/0.6974, allocations: 0 / 1.353 GB, free: 28.94 MB / 0.823 GB Notification: Performance of Templates: time 0.001662/0.6991, allocations: 361.3 kB / 1.353 GB, free: 28.9 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Ramp.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches