Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.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.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ym2|ym1|y|y1|y2",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.Round") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.364/2.364, allocations: 393.5 MB / 408.4 MB, free: 10.96 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.001051/0.001051, allocations: 187.9 kB / 0.4902 GB, free: 2.219 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.578/1.578, allocations: 223.1 MB / 0.7992 GB, free: 14.71 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.0009471/0.000947, allocations: 102.4 kB / 0.9396 GB, free: 1.895 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003385/0.0003384, allocations: 13.56 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3115, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2015/0.5131, allocations: 149.6 MB / 1.375 GB, free: 3.926 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002825/0.5134, allocations: 75.95 kB / 1.375 GB, free: 3.852 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.001649/0.515, allocations: 0.6217 MB / 1.376 GB, free: 3.227 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.405e-06/0.5151, allocations: 0 / 1.376 GB, free: 3.227 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.5151, allocations: 4 kB / 1.376 GB, free: 3.223 MB / 0.8698 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.0002992/0.5154, allocations: 319.4 kB / 1.376 GB, free: 2.863 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.5154, allocations: 8.031 kB / 1.376 GB, free: 2.855 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.302e-05/0.5155, allocations: 8 kB / 1.376 GB, free: 2.848 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.5156, allocations: 167 kB / 1.376 GB, free: 2.645 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.5156, allocations: 0 / 1.376 GB, free: 2.645 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/0.5156, allocations: 4 kB / 1.376 GB, free: 2.641 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.5158, allocations: 73.92 kB / 1.377 GB, free: 2.547 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.5158, allocations: 4 kB / 1.377 GB, free: 2.543 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.5158, allocations: 0 / 1.377 GB, free: 2.543 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.5158, allocations: 0 / 1.377 GB, free: 2.543 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.265e-05/0.5159, allocations: 19.92 kB / 1.377 GB, free: 2.523 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002159/0.5161, allocations: 182 kB / 1.377 GB, free: 2.285 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.5162, allocations: 98.47 kB / 1.377 GB, free: 2.145 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001896/0.5164, allocations: 85.23 kB / 1.377 GB, free: 2.043 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.5165, allocations: 38.48 kB / 1.377 GB, free: 1.996 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.5165, allocations: 0 / 1.377 GB, free: 1.996 MB / 0.8698 GB Notification: Performance of matching and sorting (n=5): time 0.0002011/0.5167, allocations: 74.17 kB / 1.377 GB, free: 1.918 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.967e-05/0.5168, allocations: 162.2 kB / 1.377 GB, free: 1.723 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.928e-05/0.5168, allocations: 85 kB / 1.377 GB, free: 1.633 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.5169, allocations: 25.7 kB / 1.377 GB, free: 1.602 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.988e-05/0.5169, allocations: 84.12 kB / 1.377 GB, free: 1.516 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.858e-05/0.517, allocations: 23.66 kB / 1.377 GB, free: 1.492 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-06/0.517, allocations: 0 / 1.377 GB, free: 1.492 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.5171, allocations: 310.8 kB / 1.378 GB, free: 1.18 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.037e-05/0.5171, allocations: 12 kB / 1.378 GB, free: 1.168 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.678e-05/0.5172, allocations: 36.22 kB / 1.378 GB, free: 1.117 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.133e-05/0.5172, allocations: 8 kB / 1.378 GB, free: 1.109 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.5172, allocations: 7.953 kB / 1.378 GB, free: 1.102 MB / 0.8698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001014/0.5173, allocations: 69.5 kB / 1.378 GB, free: 1.027 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.5174, allocations: 10.02 kB / 1.378 GB, free: 1.02 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.5174, allocations: 0 / 1.378 GB, free: 1.02 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.5174, allocations: 4 kB / 1.378 GB, free: 1.016 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.437e-05/0.5175, allocations: 8 kB / 1.378 GB, free: 1.008 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.852e-06/0.5175, allocations: 0 / 1.378 GB, free: 1.008 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.907e-05/0.5175, allocations: 0 / 1.378 GB, free: 1.008 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/0.5175, allocations: 4 kB / 1.378 GB, free: 1.004 MB / 0.8698 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 () * Number of clocked 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 8.518e-05/0.5176, allocations: 126.7 kB / 1.378 GB, free: 0.8711 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.361e-05/0.5176, allocations: 3.953 kB / 1.378 GB, free: 0.8672 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002082/0.5179, allocations: 104.5 kB / 1.378 GB, free: 0.7617 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.5179, allocations: 8.156 kB / 1.378 GB, free: 0.7539 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.5179, allocations: 4.125 kB / 1.378 GB, free: 0.75 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.5179, allocations: 4 kB / 1.378 GB, free: 0.7461 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/0.5181, allocations: 161.7 kB / 1.378 GB, free: 0.5391 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.5181, allocations: 0 / 1.378 GB, free: 0.5391 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.069e-05/0.5181, allocations: 23.94 kB / 1.378 GB, free: 0.5156 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.5181, allocations: 0 / 1.378 GB, free: 0.5156 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.5182, allocations: 8 kB / 1.378 GB, free: 0.5078 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.5182, allocations: 0 / 1.378 GB, free: 0.5078 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.5182, allocations: 3.938 kB / 1.378 GB, free: 0.5039 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000193/0.5184, allocations: 167.3 kB / 1.378 GB, free: 292 kB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.374e-05/0.5184, allocations: 92.94 kB / 1.379 GB, free: 180 kB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.5185, allocations: 4 kB / 1.379 GB, free: 176 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.876e-05/0.5185, allocations: 4 kB / 1.379 GB, free: 172 kB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.711e-05/0.5185, allocations: 7.953 kB / 1.379 GB, free: 164 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.5185, allocations: 7.984 kB / 1.379 GB, free: 156 kB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.518e-05/0.5186, allocations: 75.28 kB / 1.379 GB, free: 80 kB / 0.8698 GB Notification: Performance of sort global known variables: time 1e-07/0.5186, allocations: 0 / 1.379 GB, free: 80 kB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002524/0.5188, allocations: 12 kB / 1.379 GB, free: 68 kB / 0.8698 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 () * Number of clocked 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.0002213/0.5191, allocations: 107.2 kB / 1.379 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001063/0.5192, allocations: 39.8 kB / 1.379 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.5192, allocations: 0 / 1.379 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 3.696e-05/0.5192, allocations: 27.92 kB / 1.379 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000118/0.5194, allocations: 4.859 kB / 1.379 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003122/0.5197, allocations: 161.8 kB / 1.379 GB, free: 15.69 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.52, allocations: 0.6809 MB / 1.38 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.328e-05/0.52, allocations: 8 kB / 1.38 GB, free: 14.97 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.431e-05/0.5201, allocations: 11.44 kB / 1.38 GB, free: 14.96 MB / 0.8855 GB Notification: Performance of SimCode: time 3.91e-07/0.5201, allocations: 3.938 kB / 1.38 GB, free: 14.96 MB / 0.8855 GB Notification: Performance of Templates: time 0.002535/0.5226, allocations: 0.5271 MB / 1.38 GB, free: 14.43 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_Round.csv","../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches