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.Ramp.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.Ramp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.y",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.295/1.295, allocations: 249.4 MB / 256.7 MB, free: 6.906 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.001096/0.001096, allocations: 189.2 kB / 316 MB, free: 3.492 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.449/1.449, allocations: 205.2 MB / 0.5667 GB, free: 15.56 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.001086/0.001086, allocations: 87.33 kB / 0.671 GB, free: 4.699 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.778e-06/9.818e-06, allocations: 4 kB / 0.7808 GB, free: 51.27 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.2666, allocations: 106.3 MB / 0.8846 GB, free: 8.84 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6206/0.8872, allocations: 130.4 MB / 1.012 GB, free: 55.38 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/0.8875, allocations: 76.77 kB / 1.012 GB, free: 55.38 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.00123/0.8888, allocations: 239.1 kB / 1.012 GB, free: 55.37 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.8888, allocations: 0 / 1.012 GB, free: 55.37 MB / 0.6667 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.0002778/0.8891, allocations: 325.7 kB / 1.013 GB, free: 55.04 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.8891, allocations: 12.31 kB / 1.013 GB, free: 55.04 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.422e-05/0.8892, allocations: 6.312 kB / 1.013 GB, free: 55.03 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.8893, allocations: 177.2 kB / 1.013 GB, free: 54.83 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.8893, allocations: 0 / 1.013 GB, free: 54.83 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.8893, allocations: 0.7031 kB / 1.013 GB, free: 54.83 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.857e-05/0.8894, allocations: 8.625 kB / 1.013 GB, free: 54.83 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.085e-05/0.8895, allocations: 26.97 kB / 1.013 GB, free: 54.8 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.8895, allocations: 3.422 kB / 1.013 GB, free: 54.8 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.8895, allocations: 0 / 1.013 GB, free: 54.8 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.719e-06/0.8895, allocations: 2.188 kB / 1.013 GB, free: 54.8 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001333/0.8896, allocations: 137.3 kB / 1.013 GB, free: 54.64 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 4.162e-05/0.8897, allocations: 17.48 kB / 1.013 GB, free: 54.61 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.759e-05/0.8897, allocations: 15.64 kB / 1.013 GB, free: 54.6 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.8897, allocations: 0.8438 kB / 1.013 GB, free: 54.6 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.8898, allocations: 30.56 kB / 1.013 GB, free: 54.56 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.8898, allocations: 0 / 1.013 GB, free: 54.56 MB / 0.6667 GB Notification: Performance of matching and sorting (n=1): time 0.0001269/0.8899, allocations: 38.55 kB / 1.013 GB, free: 54.53 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.14e-05/0.8899, allocations: 56.33 kB / 1.013 GB, free: 54.46 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.476e-05/0.89, allocations: 94.92 kB / 1.013 GB, free: 54.37 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 9.138e-06/0.89, allocations: 25.7 kB / 1.013 GB, free: 54.34 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 1.677e-05/0.89, allocations: 80.94 kB / 1.013 GB, free: 54.26 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/0.8901, allocations: 0 / 1.013 GB, free: 54.26 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-06/0.8901, allocations: 0 / 1.013 GB, free: 54.26 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 6.166e-05/0.8901, allocations: 321.8 kB / 1.014 GB, free: 53.94 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.099e-05/0.8902, allocations: 0 / 1.014 GB, free: 53.94 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.508e-06/0.8902, allocations: 6.75 kB / 1.014 GB, free: 53.94 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.814e-05/0.8902, allocations: 6.703 kB / 1.014 GB, free: 53.94 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.8902, allocations: 3.938 kB / 1.014 GB, free: 53.93 MB / 0.6667 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.579e-05/0.8903, allocations: 33.05 kB / 1.014 GB, free: 53.9 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.8903, allocations: 5.625 kB / 1.014 GB, free: 53.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.8903, allocations: 0 / 1.014 GB, free: 53.9 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.8903, allocations: 2.625 kB / 1.014 GB, free: 53.9 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.8904, allocations: 16.45 kB / 1.014 GB, free: 53.9 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.8904, allocations: 2.938 kB / 1.014 GB, free: 53.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.159e-05/0.8905, allocations: 8.359 kB / 1.014 GB, free: 53.9 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.8905, allocations: 0 / 1.014 GB, free: 53.9 MB / 0.6667 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 5.43e-05/0.8906, allocations: 110.5 kB / 1.014 GB, free: 53.79 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.733e-06/0.8906, allocations: 0 / 1.014 GB, free: 53.79 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.571e-05/0.8906, allocations: 11.81 kB / 1.014 GB, free: 53.78 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.8906, allocations: 2.594 kB / 1.014 GB, free: 53.78 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.8906, allocations: 2.766 kB / 1.014 GB, free: 53.78 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.8906, allocations: 3.5 kB / 1.014 GB, free: 53.78 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.785e-05/0.8907, allocations: 135.6 kB / 1.014 GB, free: 53.62 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.8907, allocations: 0 / 1.014 GB, free: 53.62 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.867e-05/0.8908, allocations: 12.14 kB / 1.014 GB, free: 53.62 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.8908, allocations: 0 / 1.014 GB, free: 53.62 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.8908, allocations: 4 kB / 1.014 GB, free: 53.62 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.12e-07/0.8908, allocations: 0 / 1.014 GB, free: 53.62 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.8908, allocations: 0 / 1.014 GB, free: 53.62 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.426e-05/0.8909, allocations: 67.27 kB / 1.014 GB, free: 53.55 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 1.995e-05/0.8909, allocations: 80.7 kB / 1.014 GB, free: 53.45 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.8909, allocations: 0 / 1.014 GB, free: 53.45 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.378e-05/0.891, allocations: 12.38 kB / 1.014 GB, free: 53.45 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.09e-05/0.891, allocations: 7.797 kB / 1.014 GB, free: 53.45 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.891, allocations: 3.906 kB / 1.014 GB, free: 53.45 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.223e-05/0.8911, allocations: 81.3 kB / 1.014 GB, free: 53.37 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0002127/0.8913, allocations: 2.656 kB / 1.014 GB, free: 53.37 MB / 0.6667 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 0.0001167/0.8914, allocations: 99.16 kB / 1.014 GB, free: 53.29 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 6.785e-05/0.8915, allocations: 13.16 kB / 1.014 GB, free: 53.28 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.8915, allocations: 0 / 1.014 GB, free: 53.28 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 1.755e-05/0.8915, allocations: 7.312 kB / 1.014 GB, free: 53.28 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001622/0.8917, allocations: 5.047 kB / 1.014 GB, free: 53.28 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001764/0.8919, allocations: 51.47 kB / 1.014 GB, free: 53.22 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/0.892, allocations: 0.6911 MB / 1.015 GB, free: 52.52 MB / 0.6667 GB Notification: Performance of SimCode: time 2.4e-07/0.892, allocations: 0 / 1.015 GB, free: 52.52 MB / 0.6667 GB Notification: Performance of Templates: time 0.002161/0.8942, allocations: 378.2 kB / 1.015 GB, free: 52.48 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Ramp.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches