Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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 10.0.0-master/package.mo): time 1.73/1.73, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.0009069/0.0009069, allocations: 189.2 kB / 490.8 MB, free: 1.93 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.084/1.084, allocations: 221.3 MB / 0.7863 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008251/0.0008252, allocations: 82.84 kB / 0.9264 GB, free: 14.22 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.933e-06/7.043e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.177/0.177, allocations: 143 MB / 1.212 GB, free: 40.1 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4737/0.6508, allocations: 148.7 MB / 1.357 GB, free: 17.35 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001857/0.651, allocations: 67.97 kB / 1.357 GB, free: 17.35 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.0009594/0.652, allocations: 232.9 kB / 1.357 GB, free: 17.34 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.652, allocations: 1.062 kB / 1.357 GB, free: 17.34 MB / 0.823 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.0002686/0.6522, allocations: 329.4 kB / 1.357 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.6523, allocations: 9.312 kB / 1.357 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.619e-05/0.6523, allocations: 5 kB / 1.357 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.192e-05/0.6524, allocations: 169.3 kB / 1.358 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.318e-06/0.6524, allocations: 1.031 kB / 1.358 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.678e-06/0.6524, allocations: 0 / 1.358 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.324e-05/0.6525, allocations: 12.67 kB / 1.358 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.571e-05/0.6525, allocations: 36.81 kB / 1.358 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.6525, allocations: 1 kB / 1.358 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.6526, allocations: 0 / 1.358 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.6526, allocations: 0 / 1.358 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.235e-05/0.6527, allocations: 139.5 kB / 1.358 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.192e-05/0.6527, allocations: 18.16 kB / 1.358 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.865e-05/0.6527, allocations: 11.48 kB / 1.358 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.487e-06/0.6527, allocations: 0 / 1.358 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.357e-05/0.6528, allocations: 39.55 kB / 1.358 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.6528, allocations: 0 / 1.358 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 9.367e-05/0.6529, allocations: 36.16 kB / 1.358 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.606e-05/0.6529, allocations: 51.92 kB / 1.358 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.9e-05/0.6529, allocations: 94.77 kB / 1.358 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.661e-06/0.6529, allocations: 25.7 kB / 1.358 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 1.929e-05/0.653, allocations: 84.17 kB / 1.358 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/0.653, allocations: 8.422 kB / 1.358 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.275e-06/0.653, allocations: 0 / 1.358 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 6.971e-05/0.6531, allocations: 316.2 kB / 1.358 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.067e-05/0.6531, allocations: 1 kB / 1.358 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.498e-06/0.6531, allocations: 6.188 kB / 1.358 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.22e-05/0.6531, allocations: 3 kB / 1.358 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.6531, allocations: 0 / 1.358 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.905e-05/0.6532, allocations: 37.16 kB / 1.358 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.668e-06/0.6532, allocations: 7.781 kB / 1.358 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.6532, allocations: 1.281 kB / 1.358 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.908e-06/0.6532, allocations: 4.469 kB / 1.358 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.545e-05/0.6533, allocations: 14.47 kB / 1.358 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.895e-06/0.6533, allocations: 0 / 1.358 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.959e-05/0.6534, allocations: 16.53 kB / 1.358 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.6534, allocations: 1.688 kB / 1.358 GB, free: 31.84 MB / 0.8386 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 4.538e-05/0.6534, allocations: 102.1 kB / 1.359 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.176e-06/0.6534, allocations: 5.672 kB / 1.359 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.793e-05/0.6535, allocations: 3.953 kB / 1.359 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.6535, allocations: 1.188 kB / 1.359 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.6535, allocations: 0 / 1.359 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.6535, allocations: 0.7969 kB / 1.359 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.283e-05/0.6535, allocations: 137.2 kB / 1.359 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.6535, allocations: 9.875 kB / 1.359 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.741e-05/0.6536, allocations: 10.94 kB / 1.359 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.6536, allocations: 0 / 1.359 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-06/0.6536, allocations: 1.094 kB / 1.359 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.6536, allocations: 0 / 1.359 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.6536, allocations: 5.891 kB / 1.359 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.338e-05/0.6537, allocations: 61.17 kB / 1.359 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.452e-05/0.6537, allocations: 82.78 kB / 1.359 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.6537, allocations: 1.859 kB / 1.359 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.047e-05/0.6538, allocations: 13.22 kB / 1.359 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.738e-05/0.6538, allocations: 1.672 kB / 1.359 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.6538, allocations: 4.688 kB / 1.359 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.65e-05/0.6539, allocations: 82.25 kB / 1.359 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000153/0.654, allocations: 3.094 kB / 1.359 GB, free: 31.31 MB / 0.8386 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.678e-05/0.6541, allocations: 97.94 kB / 1.359 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 5.421e-05/0.6542, allocations: 8.531 kB / 1.359 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 9.72e-07/0.6542, allocations: 0 / 1.359 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.475e-05/0.6542, allocations: 4.062 kB / 1.359 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001254/0.6543, allocations: 6.812 kB / 1.359 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001318/0.6545, allocations: 56.09 kB / 1.359 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000173/0.6546, allocations: 0.6851 MB / 1.36 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/0.6546, allocations: 0 / 1.36 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of Templates: time 0.001669/0.6563, allocations: 378.2 kB / 1.36 GB, free: 30.4 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Ramp.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches