Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round.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.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ym2|ym1|y|y1|y2",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round") translateModel(Buildings.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ym2|ym1|y|y1|y2",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round") [: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.985/1.985, allocations: 387.2 MB / 394.5 MB, free: 13.63 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.001039/0.001039, allocations: 185.2 kB / 487 MB, free: 5.355 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.332/1.332, allocations: 221.3 MB / 0.7819 GB, free: 1.355 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.0008483/0.0008484, allocations: 94.41 kB / 0.9213 GB, free: 2.613 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.766e-06/8.806e-06, allocations: 7.938 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.229, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5685/0.7976, allocations: 148 MB / 1.35 GB, free: 16.13 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/0.7978, allocations: 76.83 kB / 1.35 GB, free: 16.13 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.001619/0.7995, allocations: 306.2 kB / 1.35 GB, free: 16.12 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.7995, allocations: 2.062 kB / 1.35 GB, free: 16.12 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0001984/0.7997, allocations: 322.8 kB / 1.35 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.7998, allocations: 9.75 kB / 1.35 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.237e-05/0.7998, allocations: 1.281 kB / 1.35 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.619e-05/0.7999, allocations: 176.8 kB / 1.351 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.7999, allocations: 0 / 1.351 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.7999, allocations: 6.516 kB / 1.351 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.984e-05/0.8, allocations: 5.266 kB / 1.351 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.47e-05/0.8001, allocations: 69.2 kB / 1.351 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.8001, allocations: 1.281 kB / 1.351 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-06/0.8001, allocations: 0 / 1.351 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.8001, allocations: 5.312 kB / 1.351 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001203/0.8002, allocations: 155.8 kB / 1.351 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.631e-05/0.8003, allocations: 99.22 kB / 1.351 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.163e-05/0.8003, allocations: 34.7 kB / 1.351 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001563/0.8005, allocations: 82.22 kB / 1.351 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.8005, allocations: 39.97 kB / 1.351 GB, free: 15 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=5): time 1.483e-06/0.8005, allocations: 3.938 kB / 1.351 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5): time 0.0004108/0.8009, allocations: 97.83 kB / 1.351 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/0.801, allocations: 157.3 kB / 1.351 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.612e-05/0.801, allocations: 85 kB / 1.351 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.564e-06/0.801, allocations: 31.36 kB / 1.351 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.376e-05/0.8011, allocations: 80.14 kB / 1.352 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.026e-05/0.8011, allocations: 23.31 kB / 1.352 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-06/0.8011, allocations: 1.531 kB / 1.352 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.359e-05/0.8011, allocations: 310.8 kB / 1.352 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.544e-05/0.8012, allocations: 8.219 kB / 1.352 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.94e-05/0.8012, allocations: 31.11 kB / 1.352 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000236/0.8014, allocations: 59.27 kB / 1.352 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.8014, allocations: 0 / 1.352 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002957/0.8017, allocations: 96.39 kB / 1.352 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.8018, allocations: 9.125 kB / 1.352 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.8018, allocations: 1.312 kB / 1.352 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.8018, allocations: 2.562 kB / 1.352 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.479e-05/0.8019, allocations: 10.31 kB / 1.352 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.8019, allocations: 5.188 kB / 1.352 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.702e-05/0.8019, allocations: 1.312 kB / 1.352 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.8019, allocations: 3.906 kB / 1.352 GB, free: 14.14 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.001e-05/0.802, allocations: 108.7 kB / 1.352 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.551e-05/0.802, allocations: 6.469 kB / 1.352 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003937/0.8024, allocations: 139.2 kB / 1.352 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.8024, allocations: 2.719 kB / 1.352 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.8024, allocations: 1.406 kB / 1.352 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.8024, allocations: 1.406 kB / 1.352 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.728e-05/0.8025, allocations: 144.5 kB / 1.352 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.8025, allocations: 2.344 kB / 1.352 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.083e-05/0.8026, allocations: 14.8 kB / 1.352 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.8026, allocations: 2.906 kB / 1.352 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.8026, allocations: 1.344 kB / 1.352 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.8026, allocations: 4.016 kB / 1.352 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.8026, allocations: 5.125 kB / 1.352 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000324/0.803, allocations: 209.6 kB / 1.353 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.748e-05/0.803, allocations: 81.36 kB / 1.353 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.803, allocations: 2.469 kB / 1.353 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.869e-05/0.803, allocations: 5.188 kB / 1.353 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.62e-05/0.8031, allocations: 14.36 kB / 1.353 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.8031, allocations: 6.594 kB / 1.353 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.342e-05/0.8031, allocations: 76.78 kB / 1.353 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002032/0.8033, allocations: 12.39 kB / 1.353 GB, free: 13.46 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.0001505/0.8035, allocations: 109.1 kB / 1.353 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.835e-05/0.8036, allocations: 26.61 kB / 1.353 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.8036, allocations: 1 kB / 1.353 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.166e-05/0.8036, allocations: 22.25 kB / 1.353 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001097/0.8037, allocations: 4.609 kB / 1.353 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002103/0.804, allocations: 97.98 kB / 1.353 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.8041, allocations: 0.6986 MB / 1.354 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of SimCode: time 2.31e-07/0.8041, allocations: 0 / 1.354 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of Templates: time 0.002563/0.8067, allocations: 0.5447 MB / 1.354 GB, free: 12.48 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_Round.csv","../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches