Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.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.Conversions.Validation.IntegerToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intToRea.u|intToRea.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intToRea.u|intToRea.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") [: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.528/1.528, allocations: 249.4 MB / 256.7 MB, free: 7.078 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.001625/0.001626, allocations: 185.2 kB / 316 MB, free: 3.543 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.527/1.527, allocations: 205.2 MB / 0.5667 GB, free: 15.67 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.001076/0.001076, allocations: 83.39 kB / 0.671 GB, free: 4.797 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.675e-06/7.705e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.2274, allocations: 106.3 MB / 0.8846 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6461/0.8735, allocations: 131.9 MB / 1.013 GB, free: 6.719 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002215/0.8738, allocations: 71.2 kB / 1.013 GB, free: 6.68 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.002737/0.8766, allocations: 0.622 MB / 1.014 GB, free: 6.16 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.177e-06/0.8766, allocations: 4 kB / 1.014 GB, free: 6.156 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004755/0.8771, allocations: 356.8 kB / 1.014 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.8772, allocations: 8.031 kB / 1.014 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.8772, allocations: 7.906 kB / 1.014 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.8774, allocations: 167 kB / 1.015 GB, free: 5.555 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.8774, allocations: 4 kB / 1.015 GB, free: 5.551 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.8774, allocations: 4 kB / 1.015 GB, free: 5.547 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.715e-05/0.8775, allocations: 26.12 kB / 1.015 GB, free: 5.527 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.351e-05/0.8776, allocations: 52.45 kB / 1.015 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.8776, allocations: 0 / 1.015 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.8776, allocations: 4 kB / 1.015 GB, free: 5.473 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.8776, allocations: 0 / 1.015 GB, free: 5.473 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004155/0.8781, allocations: 253.9 kB / 1.015 GB, free: 5.203 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.339e-05/0.8782, allocations: 53.64 kB / 1.015 GB, free: 5.152 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.018e-05/0.8782, allocations: 20.39 kB / 1.015 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.8782, allocations: 0 / 1.015 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.8783, allocations: 31.44 kB / 1.015 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 9.41e-07/0.8783, allocations: 3.938 kB / 1.015 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002061/0.8785, allocations: 59.34 kB / 1.015 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/0.8785, allocations: 51.41 kB / 1.015 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.87e-05/0.8786, allocations: 100.6 kB / 1.015 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.855e-05/0.8787, allocations: 25.7 kB / 1.015 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.626e-05/0.8787, allocations: 84.12 kB / 1.015 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.8787, allocations: 18.56 kB / 1.015 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-06/0.8788, allocations: 0 / 1.015 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.8789, allocations: 310.8 kB / 1.016 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.442e-05/0.8789, allocations: 11.81 kB / 1.016 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.512e-05/0.879, allocations: 18.55 kB / 1.016 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.161e-05/0.879, allocations: 15.94 kB / 1.016 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.879, allocations: 0 / 1.016 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001017/0.8791, allocations: 56.91 kB / 1.016 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.8791, allocations: 4 kB / 1.016 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.8792, allocations: 256 / 1.016 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.8792, allocations: 4 kB / 1.016 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.8793, allocations: 23.97 kB / 1.016 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.8793, allocations: 0 / 1.016 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.949e-05/0.8794, allocations: 8 kB / 1.016 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.8794, allocations: 4 kB / 1.016 GB, free: 4.297 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intToRea.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 7.957e-05/0.8795, allocations: 108.9 kB / 1.016 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.817e-05/0.8796, allocations: 3.906 kB / 1.016 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.867e-05/0.8796, allocations: 11.31 kB / 1.016 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.8796, allocations: 0 / 1.016 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.8796, allocations: 4 kB / 1.016 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.8796, allocations: 0 / 1.016 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.8798, allocations: 157.8 kB / 1.016 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.8798, allocations: 0 / 1.016 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001059/0.8799, allocations: 23.91 kB / 1.016 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.8799, allocations: 3.984 kB / 1.016 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.8799, allocations: 4 kB / 1.016 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.8799, allocations: 0 / 1.016 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.88, allocations: 4 kB / 1.016 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001376/0.8801, allocations: 149.3 kB / 1.016 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.704e-05/0.8802, allocations: 85.02 kB / 1.016 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.8802, allocations: 3.984 kB / 1.016 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.8803, allocations: 8 kB / 1.016 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.493e-05/0.8804, allocations: 15.17 kB / 1.016 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.8804, allocations: 0 / 1.016 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.515e-05/0.8804, allocations: 87.02 kB / 1.016 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002356/0.8807, allocations: 8 kB / 1.016 GB, free: 3.578 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intToRea.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001248/0.8808, allocations: 111.1 kB / 1.017 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.534e-05/0.8809, allocations: 28.8 kB / 1.017 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.8809, allocations: 0 / 1.017 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.894e-05/0.8809, allocations: 15.69 kB / 1.017 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001753/0.8811, allocations: 4.703 kB / 1.017 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002537/0.8814, allocations: 86.62 kB / 1.017 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002456/0.8816, allocations: 0.6987 MB / 1.017 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of SimCode: time 2.81e-07/0.8816, allocations: 0 / 1.017 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of Templates: time 0.002483/0.8841, allocations: 0.7804 MB / 1.018 GB, free: 1.84 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches