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.RealToInteger.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.RealToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaToInt.u|reaToInt.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaToInt.u|reaToInt.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") [: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.268/1.268, allocations: 249.4 MB / 256.7 MB, free: 15.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001213/0.001213, allocations: 185 kB / 316 MB, free: 7.25 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.742/1.742, allocations: 205.1 MB / 0.5667 GB, free: 23.98 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.0008643/0.0008644, allocations: 78.28 kB / 0.671 GB, free: 1.273 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 1.071e-05/1.074e-05, allocations: 4 kB / 0.7807 GB, free: 0.7656 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6109/0.6109, allocations: 106.3 MB / 0.8846 GB, free: 76.37 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1777/0.7886, allocations: 130.6 MB / 1.012 GB, free: 9.555 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/0.789, allocations: 67.95 kB / 1.012 GB, free: 9.488 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.002119/0.7912, allocations: 433.7 kB / 1.013 GB, free: 9.066 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 9.768e-06/0.7912, allocations: 0 / 1.013 GB, free: 9.066 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004078/0.7916, allocations: 350.3 kB / 1.013 GB, free: 8.68 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.7917, allocations: 12.03 kB / 1.013 GB, free: 8.668 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.21e-05/0.7917, allocations: 0 / 1.013 GB, free: 8.668 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.7919, allocations: 166.9 kB / 1.013 GB, free: 8.465 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.7919, allocations: 0 / 1.013 GB, free: 8.465 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.7919, allocations: 4 kB / 1.013 GB, free: 8.461 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.688e-05/0.792, allocations: 12 kB / 1.013 GB, free: 8.449 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.464e-05/0.7921, allocations: 41.69 kB / 1.013 GB, free: 8.402 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.7921, allocations: 0 / 1.013 GB, free: 8.402 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.7921, allocations: 0 / 1.013 GB, free: 8.402 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.7921, allocations: 0 / 1.013 GB, free: 8.402 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003752/0.7925, allocations: 229.4 kB / 1.013 GB, free: 8.141 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 7.045e-05/0.7926, allocations: 30.52 kB / 1.013 GB, free: 8.102 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.97e-05/0.7926, allocations: 8.922 kB / 1.013 GB, free: 8.09 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.7927, allocations: 4 kB / 1.013 GB, free: 8.086 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.7927, allocations: 38.55 kB / 1.013 GB, free: 8.039 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.7927, allocations: 0 / 1.013 GB, free: 8.039 MB / 0.6667 GB Notification: Performance of matching and sorting (n=2): time 0.0001856/0.7929, allocations: 41.7 kB / 1.014 GB, free: 7.992 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/0.7929, allocations: 55.31 kB / 1.014 GB, free: 7.926 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.083e-05/0.793, allocations: 92.98 kB / 1.014 GB, free: 7.828 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.793, allocations: 25.7 kB / 1.014 GB, free: 7.797 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 5.56e-05/0.7931, allocations: 88.17 kB / 1.014 GB, free: 7.707 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 1.829e-05/0.7931, allocations: 4 kB / 1.014 GB, free: 7.703 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-06/0.7931, allocations: 0 / 1.014 GB, free: 7.703 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.7933, allocations: 318.7 kB / 1.014 GB, free: 7.383 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.956e-05/0.7933, allocations: 8 kB / 1.014 GB, free: 7.375 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.461e-05/0.7933, allocations: 4 kB / 1.014 GB, free: 7.371 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.044e-05/0.7934, allocations: 7.938 kB / 1.014 GB, free: 7.363 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.7934, allocations: 0 / 1.014 GB, free: 7.363 MB / 0.6667 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.874e-05/0.7935, allocations: 53.69 kB / 1.014 GB, free: 7.305 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.7935, allocations: 4 kB / 1.014 GB, free: 7.301 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.7935, allocations: 0 / 1.014 GB, free: 7.301 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.7935, allocations: 4 kB / 1.014 GB, free: 7.297 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.7936, allocations: 11.98 kB / 1.014 GB, free: 7.285 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.7937, allocations: 0 / 1.014 GB, free: 7.285 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.17e-05/0.7937, allocations: 19.92 kB / 1.014 GB, free: 7.266 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.7938, allocations: 192 / 1.014 GB, free: 7.266 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: 1 (reaToInt.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.049e-05/0.7938, allocations: 105.7 kB / 1.014 GB, free: 7.16 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.699e-05/0.7939, allocations: 4 kB / 1.014 GB, free: 7.156 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.877e-05/0.7939, allocations: 11.25 kB / 1.014 GB, free: 7.148 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.7939, allocations: 0 / 1.014 GB, free: 7.148 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.7939, allocations: 3.906 kB / 1.014 GB, free: 7.145 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.7939, allocations: 3.938 kB / 1.014 GB, free: 7.141 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001573/0.7941, allocations: 142.2 kB / 1.014 GB, free: 6.965 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.7941, allocations: 4 kB / 1.014 GB, free: 6.961 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.991e-05/0.7942, allocations: 15.98 kB / 1.014 GB, free: 6.945 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.7942, allocations: 0 / 1.014 GB, free: 6.945 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.7942, allocations: 0 / 1.014 GB, free: 6.945 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.7942, allocations: 0 / 1.014 GB, free: 6.945 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.7942, allocations: 0 / 1.014 GB, free: 6.945 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002096/0.7944, allocations: 147.5 kB / 1.015 GB, free: 6.785 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 4.318e-05/0.7945, allocations: 77.11 kB / 1.015 GB, free: 6.691 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.7945, allocations: 3.906 kB / 1.015 GB, free: 6.688 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.823e-05/0.7946, allocations: 11.98 kB / 1.015 GB, free: 6.676 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.822e-05/0.7947, allocations: 4 kB / 1.015 GB, free: 6.672 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.7947, allocations: 0 / 1.015 GB, free: 6.672 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.015e-05/0.7947, allocations: 91.3 kB / 1.015 GB, free: 6.582 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0002205/0.795, allocations: 4 kB / 1.015 GB, free: 6.578 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: 1 (reaToInt.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001665/0.7951, allocations: 107.1 kB / 1.015 GB, free: 6.461 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 9.278e-05/0.7952, allocations: 12 kB / 1.015 GB, free: 6.449 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.7952, allocations: 3.938 kB / 1.015 GB, free: 6.445 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 3.249e-05/0.7953, allocations: 15.98 kB / 1.015 GB, free: 6.43 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001921/0.7955, allocations: 128 / 1.015 GB, free: 6.43 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002767/0.7958, allocations: 67.78 kB / 1.015 GB, free: 6.34 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003276/0.7961, allocations: 0.688 MB / 1.016 GB, free: 5.625 MB / 0.6667 GB Notification: Performance of SimCode: time 2.4e-07/0.7961, allocations: 3.938 kB / 1.016 GB, free: 5.621 MB / 0.6667 GB Notification: Performance of Templates: time 0.00257/0.7987, allocations: 0.5356 MB / 1.016 GB, free: 5.09 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches