Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001465/0.001465, allocations: 113.6 kB / 16.42 MB, free: 6.48 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.001557/0.001558, allocations: 186.6 kB / 17.35 MB, free: 5.746 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.496/1.496, allocations: 222.9 MB / 241 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.709/2.709, allocations: 437.1 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 63.91 kB / 1.019 GB, free: 9.367 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.06/1.061, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001926/1.063, allocations: 0.5945 MB / 1.168 GB, free: 3.25 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0003155/1.063, allocations: 59.77 kB / 1.168 GB, free: 3.191 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.684e-05/1.063, allocations: 4 kB / 1.168 GB, free: 3.188 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.685e-05/1.063, allocations: 4 kB / 1.168 GB, free: 3.184 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 1.078e-05/1.063, allocations: 0 / 1.168 GB, free: 3.184 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002917/1.064, allocations: 27.86 kB / 1.168 GB, free: 3.156 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.096e-05/1.064, allocations: 11.97 kB / 1.168 GB, free: 3.145 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.516e-05/1.064, allocations: 4 kB / 1.168 GB, free: 3.141 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.084e-05/1.064, allocations: 4 kB / 1.168 GB, free: 3.137 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.348e-05/1.064, allocations: 7.984 kB / 1.168 GB, free: 3.129 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/1.064, allocations: 7.938 kB / 1.168 GB, free: 3.121 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.764e-05/1.064, allocations: 15.92 kB / 1.168 GB, free: 3.105 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.391e-05/1.064, allocations: 4 kB / 1.168 GB, free: 3.102 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.426e-05/1.064, allocations: 7.984 kB / 1.168 GB, free: 3.094 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000104/1.064, allocations: 19.92 kB / 1.168 GB, free: 3.074 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/1.064, allocations: 0 / 1.168 GB, free: 3.074 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.643e-06/1.064, allocations: 0 / 1.168 GB, free: 3.074 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.398e-06/1.064, allocations: 0 / 1.168 GB, free: 3.074 MB / 0.8887 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.0004115/1.065, allocations: 332 kB / 1.168 GB, free: 2.703 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 6.338e-05/1.065, allocations: 8.922 kB / 1.168 GB, free: 2.695 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.616e-05/1.065, allocations: 4.938 kB / 1.168 GB, free: 2.691 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/1.065, allocations: 164.3 kB / 1.169 GB, free: 2.492 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/1.065, allocations: 4.375 kB / 1.169 GB, free: 2.488 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/1.065, allocations: 4.375 kB / 1.169 GB, free: 2.484 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/1.065, allocations: 66.53 kB / 1.169 GB, free: 2.398 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/1.065, allocations: 8.125 kB / 1.169 GB, free: 2.391 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/1.065, allocations: 7.938 kB / 1.169 GB, free: 2.383 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/1.065, allocations: 0 / 1.169 GB, free: 2.383 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.17e-05/1.065, allocations: 15.94 kB / 1.169 GB, free: 2.367 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002076/1.065, allocations: 177.2 kB / 1.169 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/1.066, allocations: 97.08 kB / 1.169 GB, free: 1.992 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.773e-05/1.066, allocations: 38.81 kB / 1.169 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001951/1.066, allocations: 89.09 kB / 1.169 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/1.066, allocations: 42.55 kB / 1.169 GB, free: 1.785 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=5): time 1.453e-06/1.066, allocations: 0 / 1.169 GB, free: 1.785 MB / 0.8887 GB Notification: Performance of matching and sorting (n=5): time 0.0002131/1.066, allocations: 77.44 kB / 1.169 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.304e-05/1.066, allocations: 154.2 kB / 1.169 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.699e-05/1.066, allocations: 89.86 kB / 1.169 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/1.066, allocations: 26.33 kB / 1.169 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.424e-05/1.066, allocations: 88.14 kB / 1.17 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 5.568e-05/1.066, allocations: 23.78 kB / 1.17 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.48e-05/1.066, allocations: 17.66 kB / 1.17 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001343/1.067, allocations: 314.8 kB / 1.17 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.484e-05/1.067, allocations: 7.984 kB / 1.17 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.858e-05/1.067, allocations: 36.3 kB / 1.17 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.88e-05/1.067, allocations: 52.22 kB / 1.17 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/1.067, allocations: 0 / 1.17 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001404/1.067, allocations: 61.69 kB / 1.17 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/1.067, allocations: 8.031 kB / 1.17 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/1.067, allocations: 0 / 1.17 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/1.067, allocations: 7.938 kB / 1.17 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.67e-05/1.067, allocations: 11.98 kB / 1.17 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/1.067, allocations: 7.875 kB / 1.17 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.72e-05/1.067, allocations: 8 kB / 1.17 GB, free: 0.6992 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/1.067, allocations: 0 / 1.17 GB, free: 0.6992 MB / 0.8887 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 8.467e-05/1.067, allocations: 109.8 kB / 1.17 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.94e-05/1.067, allocations: 4 kB / 1.17 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002212/1.067, allocations: 104.8 kB / 1.17 GB, free: 476 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/1.067, allocations: 3.938 kB / 1.17 GB, free: 472 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/1.067, allocations: 7.984 kB / 1.17 GB, free: 464 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 4.953e-05/1.068, allocations: 85 kB / 1.17 GB, free: 360 kB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/1.068, allocations: 12.14 kB / 1.17 GB, free: 348 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.304e-05/1.068, allocations: 4 kB / 1.17 GB, free: 344 kB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.923e-05/1.068, allocations: 7.938 kB / 1.17 GB, free: 336 kB / 0.8887 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003225/1.068, allocations: 466 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003585/1.068, allocations: 0.539 MB / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.678e-05/1.068, allocations: 23.98 kB / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.245e-05/1.068, allocations: 75.28 kB / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of Backend: time 4.1e-07/1.068, allocations: 0 / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0008007/1.069, allocations: 104.8 kB / 1.172 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004958/1.07, allocations: 0.5486 MB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of Templates: time 0.003239/1.073, allocations: 0.5947 MB / 1.173 GB, free: 13.91 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_Round.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches