Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 184.4 kB / 22.22 MB, free: 5.105 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.769/2.769, allocations: 476.7 MB / 0.7646 GB, free: 9.863 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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=2500,variableFilter="time|ym2|ym1|y|y1|y2",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round")
translateModel(Buildings.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ym2|ym1|y|y1|y2",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002717/0.002717, allocations: 63.91 kB / 1.11 GB, free: 6.27 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.8477/0.8504, allocations: 168.8 MB / 1.274 GB, free: 4.188 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001805/0.8522, allocations: 0.6015 MB / 1.275 GB, free: 3.59 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.0002909/0.8525, allocations: 71.7 kB / 1.275 GB, free: 3.52 MB / 0.9669 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.446e-05/0.8525, allocations: 0 / 1.275 GB, free: 3.52 MB / 0.9669 GB
Notification: Performance of NFTyping.typeComponents: time 1.355e-05/0.8525, allocations: 0 / 1.275 GB, free: 3.52 MB / 0.9669 GB
Notification: Performance of NFTyping.typeBindings: time 6.832e-06/0.8525, allocations: 4 kB / 1.275 GB, free: 3.516 MB / 0.9669 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0002577/0.8528, allocations: 23.91 kB / 1.275 GB, free: 3.492 MB / 0.9669 GB
Notification: Performance of NFFlatten.flatten: time 4.964e-05/0.8529, allocations: 8 kB / 1.275 GB, free: 3.484 MB / 0.9669 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.328e-05/0.8529, allocations: 4 kB / 1.275 GB, free: 3.48 MB / 0.9669 GB
Notification: Performance of NFEvalConstants.evaluate: time 1.522e-05/0.8529, allocations: 0 / 1.275 GB, free: 3.48 MB / 0.9669 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.981e-05/0.853, allocations: 19.91 kB / 1.275 GB, free: 3.461 MB / 0.9669 GB
Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.853, allocations: 4 kB / 1.275 GB, free: 3.457 MB / 0.9669 GB
Notification: Performance of NFFlatten.collectFunctions: time 7.704e-05/0.8531, allocations: 7.984 kB / 1.275 GB, free: 3.449 MB / 0.9669 GB
Notification: Performance of NFScalarize.scalarize: time 1.592e-05/0.8531, allocations: 8 kB / 1.275 GB, free: 3.441 MB / 0.9669 GB
Notification: Performance of NFVerifyModel.verify: time 1.901e-05/0.8531, allocations: 0 / 1.275 GB, free: 3.441 MB / 0.9669 GB
Notification: Performance of NFConvertDAE.convert: time 9.564e-05/0.8532, allocations: 31.89 kB / 1.275 GB, free: 3.41 MB / 0.9669 GB
Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.8532, allocations: 0 / 1.275 GB, free: 3.41 MB / 0.9669 GB
Notification: Performance of FrontEnd: time 1.513e-06/0.8532, allocations: 0 / 1.275 GB, free: 3.41 MB / 0.9669 GB
Notification: Performance of Transformations before backend: time 6.221e-06/0.8532, allocations: 0 / 1.275 GB, free: 3.41 MB / 0.9669 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.0004187/0.8536, allocations: 252.8 kB / 1.275 GB, free: 3.137 MB / 0.9669 GB
Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.8537, allocations: 12.03 kB / 1.275 GB, free: 3.125 MB / 0.9669 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.432e-05/0.8537, allocations: 0.9375 kB / 1.275 GB, free: 3.125 MB / 0.9669 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 9.503e-05/0.8538, allocations: 106.5 kB / 1.275 GB, free: 2.996 MB / 0.9669 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.8538, allocations: 4.375 kB / 1.275 GB, free: 2.992 MB / 0.9669 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 9.358e-06/0.8538, allocations: 8.312 kB / 1.276 GB, free: 2.984 MB / 0.9669 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.854, allocations: 74.53 kB / 1.276 GB, free: 2.891 MB / 0.9669 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.854, allocations: 192 / 1.276 GB, free: 2.891 MB / 0.9669 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.854, allocations: 7.938 kB / 1.276 GB, free: 2.883 MB / 0.9669 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.854, allocations: 7.938 kB / 1.276 GB, free: 2.875 MB / 0.9669 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 3.738e-05/0.854, allocations: 7.938 kB / 1.276 GB, free: 2.867 MB / 0.9669 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001869/0.8542, allocations: 156.3 kB / 1.276 GB, free: 2.66 MB / 0.9669 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.8543, allocations: 93.08 kB / 1.276 GB, free: 2.523 MB / 0.9669 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.882e-05/0.8544, allocations: 36.28 kB / 1.276 GB, free: 2.473 MB / 0.9669 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001412/0.8545, allocations: 8 kB / 1.276 GB, free: 2.465 MB / 0.9669 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.8546, allocations: 30.56 kB / 1.276 GB, free: 2.426 MB / 0.9669 GB
Notification: Performance of pre-optimization done (n=5): time 2.975e-06/0.8546, allocations: 7.984 kB / 1.276 GB, free: 2.418 MB / 0.9669 GB
Notification: Performance of matching and sorting (n=5): time 0.0002109/0.8548, allocations: 77.48 kB / 1.276 GB, free: 2.336 MB / 0.9669 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.853e-05/0.8549, allocations: 162.2 kB / 1.276 GB, free: 2.141 MB / 0.9669 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.806e-05/0.8549, allocations: 93.8 kB / 1.276 GB, free: 2.039 MB / 0.9669 GB
Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.8549, allocations: 25.7 kB / 1.276 GB, free: 2.008 MB / 0.9669 GB
Notification: Performance of collectInitialEqns (initialization): time 3.343e-05/0.8549, allocations: 80.77 kB / 1.276 GB, free: 1.926 MB / 0.9669 GB
Notification: Performance of collectInitialBindings (initialization): time 4.716e-05/0.855, allocations: 35.77 kB / 1.276 GB, free: 1.891 MB / 0.9669 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.971e-05/0.855, allocations: 17.72 kB / 1.276 GB, free: 1.867 MB / 0.9669 GB
Notification: Performance of setup shared object (initialization): time 0.000128/0.8552, allocations: 310.8 kB / 1.277 GB, free: 1.555 MB / 0.9669 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.994e-05/0.8552, allocations: 7.984 kB / 1.277 GB, free: 1.547 MB / 0.9669 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.783e-05/0.8552, allocations: 32.3 kB / 1.277 GB, free: 1.5 MB / 0.9669 GB
Notification: Performance of analyzeInitialSystem (initialization): time 7.107e-05/0.8553, allocations: 52.22 kB / 1.277 GB, free: 1.434 MB / 0.9669 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.8553, allocations: 0 / 1.277 GB, free: 1.434 MB / 0.9669 GB
Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001047/0.8554, allocations: 61.56 kB / 1.277 GB, free: 1.367 MB / 0.9669 GB
Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.8554, allocations: 8.156 kB / 1.277 GB, free: 1.359 MB / 0.9669 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.8554, allocations: 4 kB / 1.277 GB, free: 1.355 MB / 0.9669 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.8554, allocations: 4.062 kB / 1.277 GB, free: 1.352 MB / 0.9669 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.174e-05/0.8555, allocations: 15.98 kB / 1.277 GB, free: 1.336 MB / 0.9669 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.8555, allocations: 7.938 kB / 1.277 GB, free: 1.328 MB / 0.9669 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.078e-05/0.8555, allocations: 4 kB / 1.277 GB, free: 1.324 MB / 0.9669 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.417e-06/0.8555, allocations: 4 kB / 1.277 GB, free: 1.32 MB / 0.9669 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 7.661e-05/0.8556, allocations: 109.8 kB / 1.277 GB, free: 1.203 MB / 0.9669 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.303e-05/0.8556, allocations: 0 / 1.277 GB, free: 1.203 MB / 0.9669 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002089/0.8558, allocations: 108.4 kB / 1.277 GB, free: 1.09 MB / 0.9669 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.8559, allocations: 4 kB / 1.277 GB, free: 1.086 MB / 0.9669 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.8559, allocations: 0 / 1.277 GB, free: 1.086 MB / 0.9669 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.8559, allocations: 4 kB / 1.277 GB, free: 1.082 MB / 0.9669 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001351/0.856, allocations: 136.7 kB / 1.277 GB, free: 0.9062 MB / 0.9669 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.856, allocations: 4.156 kB / 1.277 GB, free: 0.9023 MB / 0.9669 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.341e-05/0.8561, allocations: 23.92 kB / 1.277 GB, free: 0.8789 MB / 0.9669 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.8561, allocations: 0 / 1.277 GB, free: 0.8789 MB / 0.9669 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.8561, allocations: 11.88 kB / 1.277 GB, free: 0.8672 MB / 0.9669 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.8561, allocations: 0 / 1.277 GB, free: 0.8672 MB / 0.9669 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.8561, allocations: 0 / 1.277 GB, free: 0.8672 MB / 0.9669 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001623/0.8562, allocations: 128.5 kB / 1.277 GB, free: 0.7109 MB / 0.9669 GB
Notification: Performance of postOpt removeConstants (simulation): time 9.037e-06/0.8562, allocations: 7.953 kB / 1.277 GB, free: 0.7031 MB / 0.9669 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.8563, allocations: 7.938 kB / 1.277 GB, free: 0.6953 MB / 0.9669 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.057e-05/0.8563, allocations: 4 kB / 1.277 GB, free: 0.6914 MB / 0.9669 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.999e-05/0.8563, allocations: 11.98 kB / 1.277 GB, free: 0.6797 MB / 0.9669 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.8563, allocations: 7.938 kB / 1.277 GB, free: 0.6719 MB / 0.9669 GB
Notification: Performance of sorting global known variables: time 3.85e-05/0.8564, allocations: 79.28 kB / 1.277 GB, free: 0.5938 MB / 0.9669 GB
Notification: Performance of sort global known variables: time 8.1e-08/0.8564, allocations: 0 / 1.277 GB, free: 0.5938 MB / 0.9669 GB
Notification: Performance of remove unused functions: time 0.0002049/0.8566, allocations: 11.94 kB / 1.278 GB, free: 0.582 MB / 0.9669 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.0001603/0.8567, allocations: 107.2 kB / 1.278 GB, free: 476 kB / 0.9669 GB
Notification: Performance of simCode: created initialization part: time 0.0001223/0.8569, allocations: 31.92 kB / 1.278 GB, free: 444 kB / 0.9669 GB
Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.8569, allocations: 0 / 1.278 GB, free: 444 kB / 0.9669 GB
Notification: Performance of simCode: created simulation system equations: time 3.869e-05/0.8569, allocations: 28.5 kB / 1.278 GB, free: 416 kB / 0.9669 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001531/0.8571, allocations: 5.859 kB / 1.278 GB, free: 412 kB / 0.9669 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002946/0.8573, allocations: 148.2 kB / 1.278 GB, free: 224 kB / 0.9669 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/0.8577, allocations: 0.6807 MB / 1.278 GB, free: 15.51 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 3.783e-05/0.8577, allocations: 12.06 kB / 1.278 GB, free: 15.5 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.688e-05/0.8577, allocations: 11.44 kB / 1.279 GB, free: 15.49 MB / 0.9825 GB
Notification: Performance of SimCode: time 3.11e-07/0.8577, allocations: 0 / 1.279 GB, free: 15.49 MB / 0.9825 GB
Notification: Performance of Templates: time 0.00301/0.8607, allocations: 0.5959 MB / 1.279 GB, free: 14.89 MB / 0.9825 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_Round.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300]
""
[Timeout remaining time 300]
Reference file matches
[Calling sys.exit(0), Time elapsed: 8.50259717181325]