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/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 187.9 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.83/2.83, allocations: 472.6 MB / 0.7449 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 64.08 kB / 0.9116 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.2969, allocations: 159.9 MB / 1.068 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001813/0.2988, allocations: 0.6581 MB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002354/0.299, allocations: 59.78 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.248e-05/0.2991, allocations: 0 / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.318e-05/0.2991, allocations: 0 / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.402e-06/0.2991, allocations: 0 / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002204/0.2993, allocations: 19.97 kB / 1.068 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.637e-05/0.2994, allocations: 19.92 kB / 1.068 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.178e-05/0.2995, allocations: 4 kB / 1.068 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.175e-05/0.2995, allocations: 7.938 kB / 1.069 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.404e-05/0.2995, allocations: 11.97 kB / 1.069 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.021e-05/0.2995, allocations: 0 / 1.069 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.939e-05/0.2996, allocations: 15.98 kB / 1.069 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.766e-06/0.2996, allocations: 0 / 1.069 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.054e-05/0.2997, allocations: 11.94 kB / 1.069 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.616e-05/0.2997, allocations: 15.97 kB / 1.069 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2997, allocations: 0 / 1.069 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2998, allocations: 0 / 1.069 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.359e-06/0.2998, allocations: 0 / 1.069 GB, free: 9.91 MB / 0.8262 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.0003293/0.3001, allocations: 331.6 kB / 1.069 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.3001, allocations: 8.031 kB / 1.069 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.158e-05/0.3002, allocations: 4.938 kB / 1.069 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.617e-05/0.3003, allocations: 162.6 kB / 1.069 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.3003, allocations: 8.312 kB / 1.069 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.3003, allocations: 384 / 1.069 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.3004, allocations: 78.48 kB / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.3004, allocations: 4.188 kB / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.3004, allocations: 7.922 kB / 1.069 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.3005, allocations: 0 / 1.069 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.631e-05/0.3005, allocations: 11.94 kB / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001668/0.3007, allocations: 181.5 kB / 1.069 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.66e-05/0.3008, allocations: 92.98 kB / 1.069 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.255e-05/0.3008, allocations: 36.41 kB / 1.069 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001788/0.301, allocations: 89.09 kB / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.301, allocations: 46.44 kB / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.301, allocations: 0 / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5): time 0.0001866/0.3012, allocations: 77.89 kB / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.897e-05/0.3013, allocations: 162.3 kB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.442e-05/0.3013, allocations: 93.86 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.3014, allocations: 25.7 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.505e-05/0.3014, allocations: 84.14 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.471e-05/0.3014, allocations: 15.73 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.553e-05/0.3015, allocations: 17.72 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.724e-05/0.3016, allocations: 310.8 kB / 1.07 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.2e-05/0.3016, allocations: 15.98 kB / 1.07 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.172e-05/0.3016, allocations: 32.3 kB / 1.07 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.595e-05/0.3017, allocations: 56.22 kB / 1.07 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3017, allocations: 0 / 1.07 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.912e-05/0.3018, allocations: 61.56 kB / 1.07 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.3018, allocations: 4 kB / 1.07 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.3018, allocations: 0 / 1.07 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.3019, allocations: 7.938 kB / 1.07 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.348e-05/0.3019, allocations: 11.98 kB / 1.071 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.302, allocations: 160 / 1.071 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.192e-05/0.302, allocations: 8 kB / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.302, allocations: 128 / 1.071 GB, free: 7.535 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.387e-05/0.3021, allocations: 119.5 kB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.792e-05/0.3021, allocations: 8 kB / 1.071 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001996/0.3023, allocations: 112.4 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.3023, allocations: 3.938 kB / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.3023, allocations: 4 kB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3023, allocations: 0 / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.3025, allocations: 161.7 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.3025, allocations: 4 kB / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.104e-05/0.3025, allocations: 15.98 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.3025, allocations: 0 / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.3026, allocations: 8.094 kB / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.3026, allocations: 7.938 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.3026, allocations: 4 kB / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000131/0.3027, allocations: 120.5 kB / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.146e-05/0.3028, allocations: 85.11 kB / 1.071 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.3028, allocations: 11.88 kB / 1.071 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.124e-05/0.3028, allocations: 4 kB / 1.071 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.998e-05/0.3028, allocations: 7.984 kB / 1.071 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.3028, allocations: 4 kB / 1.071 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.726e-05/0.3029, allocations: 75.28 kB / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3029, allocations: 0 / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002186/0.3031, allocations: 12 kB / 1.071 GB, free: 6.668 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001501/0.3033, allocations: 111.2 kB / 1.071 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001026/0.3034, allocations: 35.91 kB / 1.071 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3034, allocations: 0 / 1.071 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.631e-05/0.3034, allocations: 23.94 kB / 1.071 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001813/0.3036, allocations: 9.562 kB / 1.071 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002496/0.3039, allocations: 168.8 kB / 1.072 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002174/0.3041, allocations: 0.6807 MB / 1.072 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.728e-05/0.3041, allocations: 12 kB / 1.072 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.82e-05/0.3042, allocations: 15.44 kB / 1.072 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.3042, allocations: 0 / 1.072 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of Templates: time 0.002469/0.3067, allocations: 0.5611 MB / 1.073 GB, free: 4.984 MB / 0.8262 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches