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.00134/0.00134, allocations: 114.3 kB / 16.42 MB, free: 6.508 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.001448/0.001448, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.454/1.454, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.911/2.911, allocations: 472.7 MB / 0.746 GB, free: 456 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002466/0.002466, allocations: 67.91 kB / 1.07 GB, free: 9.52 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.012/1.015, allocations: 159.9 MB / 1.226 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.002167/1.017, allocations: 0.61 MB / 1.227 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0003192/1.017, allocations: 67.7 kB / 1.227 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.862e-05/1.017, allocations: 4 kB / 1.227 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.796e-05/1.017, allocations: 0 / 1.227 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 7.755e-06/1.017, allocations: 0 / 1.227 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002876/1.018, allocations: 27.91 kB / 1.227 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 6.17e-05/1.018, allocations: 4 kB / 1.227 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 5.677e-05/1.018, allocations: 7.984 kB / 1.227 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 2.328e-05/1.018, allocations: 4 kB / 1.227 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.398e-05/1.018, allocations: 7.938 kB / 1.227 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/1.018, allocations: 0 / 1.227 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 9.875e-05/1.018, allocations: 19.97 kB / 1.227 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.517e-05/1.018, allocations: 4 kB / 1.227 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.564e-05/1.018, allocations: 7.922 kB / 1.227 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001055/1.018, allocations: 19.97 kB / 1.227 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/1.018, allocations: 4 kB / 1.227 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.234e-06/1.018, allocations: 0 / 1.227 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.322e-06/1.018, allocations: 0 / 1.227 GB, free: 12.71 MB / 0.9512 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.0004524/1.019, allocations: 328 kB / 1.227 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/1.019, allocations: 8.031 kB / 1.227 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.518e-05/1.019, allocations: 8.875 kB / 1.227 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/1.019, allocations: 164.4 kB / 1.228 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/1.019, allocations: 4.375 kB / 1.228 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/1.019, allocations: 384 / 1.228 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/1.019, allocations: 74.55 kB / 1.228 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/1.019, allocations: 8.125 kB / 1.228 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/1.019, allocations: 3.938 kB / 1.228 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/1.019, allocations: 0 / 1.228 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.664e-05/1.019, allocations: 15.92 kB / 1.228 GB, free: 12 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003046/1.019, allocations: 181.2 kB / 1.228 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002123/1.02, allocations: 101 kB / 1.228 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.926e-05/1.02, allocations: 36.36 kB / 1.228 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002843/1.02, allocations: 85.09 kB / 1.228 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.659e-05/1.02, allocations: 34.56 kB / 1.228 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=5): time 3.727e-06/1.02, allocations: 4 kB / 1.228 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of matching and sorting (n=5): time 0.0003036/1.02, allocations: 81.42 kB / 1.228 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002701/1.021, allocations: 154.2 kB / 1.228 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.478e-05/1.021, allocations: 93.8 kB / 1.228 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 9.266e-05/1.021, allocations: 25.7 kB / 1.228 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.757e-05/1.021, allocations: 80.77 kB / 1.229 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.548e-05/1.021, allocations: 23.8 kB / 1.229 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.902e-05/1.021, allocations: 25.7 kB / 1.229 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001476/1.021, allocations: 310.8 kB / 1.229 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.284e-05/1.021, allocations: 4 kB / 1.229 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.97e-05/1.021, allocations: 40.28 kB / 1.229 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.66e-05/1.021, allocations: 48.23 kB / 1.229 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/1.021, allocations: 0 / 1.229 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001281/1.021, allocations: 65.55 kB / 1.229 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/1.022, allocations: 4 kB / 1.229 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/1.022, allocations: 4.156 kB / 1.229 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/1.022, allocations: 7.938 kB / 1.229 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/1.022, allocations: 8 kB / 1.229 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/1.022, allocations: 3.938 kB / 1.229 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.043e-05/1.022, allocations: 8 kB / 1.229 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/1.022, allocations: 3.984 kB / 1.229 GB, free: 10.33 MB / 0.9512 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 0.0001293/1.022, allocations: 109.8 kB / 1.229 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.264e-05/1.022, allocations: 4 kB / 1.229 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000277/1.022, allocations: 112.7 kB / 1.229 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/1.022, allocations: 3.938 kB / 1.229 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/1.022, allocations: 0 / 1.229 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.524e-05/1.022, allocations: 85.05 kB / 1.229 GB, free: 9.988 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/1.022, allocations: 8 kB / 1.229 GB, free: 9.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.303e-05/1.022, allocations: 4.156 kB / 1.229 GB, free: 9.977 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.407e-05/1.022, allocations: 11.92 kB / 1.229 GB, free: 9.965 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000374/1.023, allocations: 469.9 kB / 1.23 GB, free: 9.496 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000451/1.023, allocations: 0.5468 MB / 1.23 GB, free: 8.93 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.655e-05/1.023, allocations: 23.92 kB / 1.23 GB, free: 8.906 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.542e-05/1.023, allocations: 79.28 kB / 1.231 GB, free: 8.828 MB / 0.9512 GB Notification: Performance of Backend: time 3.61e-07/1.023, allocations: 0 / 1.231 GB, free: 8.828 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0009253/1.024, allocations: 102 kB / 1.231 GB, free: 8.723 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0006134/1.025, allocations: 0.5565 MB / 1.231 GB, free: 8.117 MB / 0.9512 GB Notification: Performance of Templates: time 0.003361/1.028, allocations: 0.5899 MB / 1.232 GB, free: 7.531 MB / 0.9512 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/jenkins1/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