Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00194/0.00194, allocations: 104.5 kB / 18.84 MB, free: 3.043 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.002283/0.002283, allocations: 190.1 kB / 22.11 MB, free: 5.16 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.469/1.469, allocations: 225.6 MB / 250.8 MB, free: 13.06 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.186/3.186, allocations: 495.8 MB / 0.783 GB, free: 33.6 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_12_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_12_Buildings.Utilities.Math.Functions.Examples.Round") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 72.47 kB / 1.137 GB, free: 33.75 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.3671, allocations: 173.6 MB / 1.307 GB, free: 1.789 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001956/0.369, allocations: 0.6232 MB / 1.307 GB, free: 1.168 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.0003068/0.3694, allocations: 64.19 kB / 1.307 GB, free: 1.105 MB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.134e-05/0.3694, allocations: 0 / 1.307 GB, free: 1.105 MB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 1.905e-05/0.3694, allocations: 3.938 kB / 1.307 GB, free: 1.102 MB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 8.977e-06/0.3694, allocations: 0 / 1.307 GB, free: 1.102 MB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0002693/0.3697, allocations: 19.97 kB / 1.307 GB, free: 1.082 MB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 5.958e-05/0.3697, allocations: 15.92 kB / 1.307 GB, free: 1.066 MB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.786e-05/0.3698, allocations: 0 / 1.307 GB, free: 1.066 MB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 2.545e-05/0.3698, allocations: 15.94 kB / 1.307 GB, free: 1.051 MB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.957e-05/0.3699, allocations: 7.984 kB / 1.307 GB, free: 1.043 MB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 1.043e-05/0.3699, allocations: 0 / 1.307 GB, free: 1.043 MB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 8.273e-05/0.37, allocations: 19.98 kB / 1.308 GB, free: 1.023 MB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 1.646e-05/0.37, allocations: 7.922 kB / 1.308 GB, free: 1.016 MB / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 1.632e-05/0.37, allocations: 0 / 1.308 GB, free: 1.016 MB / 0.9981 GB
Notification: Performance of NFConvertDAE.convert: time 9.381e-05/0.3701, allocations: 27.84 kB / 1.308 GB, free: 0.9883 MB / 0.9981 GB
Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3701, allocations: 0 / 1.308 GB, free: 0.9883 MB / 0.9981 GB
Notification: Performance of FrontEnd: time 1.974e-06/0.3701, allocations: 0 / 1.308 GB, free: 0.9883 MB / 0.9981 GB
Notification: Performance of Transformations before backend: time 5.32e-06/0.3701, allocations: 0 / 1.308 GB, free: 0.9883 MB / 0.9981 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.0003905/0.3705, allocations: 258.4 kB / 1.308 GB, free: 0.7031 MB / 0.9981 GB
Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.3705, allocations: 8.031 kB / 1.308 GB, free: 0.6953 MB / 0.9981 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.628e-05/0.3706, allocations: 4.922 kB / 1.308 GB, free: 0.6914 MB / 0.9981 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 9.509e-05/0.3707, allocations: 106.5 kB / 1.308 GB, free: 0.5625 MB / 0.9981 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.3707, allocations: 384 / 1.308 GB, free: 0.5625 MB / 0.9981 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-06/0.3707, allocations: 384 / 1.308 GB, free: 0.5625 MB / 0.9981 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.3708, allocations: 74.48 kB / 1.308 GB, free: 480 kB / 0.9981 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.3708, allocations: 192 / 1.308 GB, free: 480 kB / 0.9981 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.3708, allocations: 11.94 kB / 1.308 GB, free: 468 kB / 0.9981 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.3709, allocations: 0 / 1.308 GB, free: 468 kB / 0.9981 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 3.926e-05/0.3709, allocations: 23.86 kB / 1.308 GB, free: 444 kB / 0.9981 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001973/0.3711, allocations: 152.3 kB / 1.308 GB, free: 236 kB / 0.9981 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.3712, allocations: 93.05 kB / 1.308 GB, free: 96 kB / 0.9981 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.518e-05/0.3712, allocations: 32.36 kB / 1.308 GB, free: 48 kB / 0.9981 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001487/0.3714, allocations: 11.98 kB / 1.308 GB, free: 36 kB / 0.9981 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.829e-05/0.3715, allocations: 42.59 kB / 1.308 GB, free: 15.98 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=5): time 1.051e-06/0.3715, allocations: 0 / 1.308 GB, free: 15.98 MB / 1.014 GB
Notification: Performance of matching and sorting (n=5): time 0.0002046/0.3717, allocations: 78.05 kB / 1.308 GB, free: 15.9 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.936e-05/0.3717, allocations: 158.3 kB / 1.309 GB, free: 15.71 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.987e-05/0.3718, allocations: 89.86 kB / 1.309 GB, free: 15.61 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.3718, allocations: 25.7 kB / 1.309 GB, free: 15.58 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 3.01e-05/0.3718, allocations: 80.14 kB / 1.309 GB, free: 15.5 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 5.193e-05/0.3719, allocations: 27.73 kB / 1.309 GB, free: 15.47 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.725e-05/0.3719, allocations: 21.7 kB / 1.309 GB, free: 15.44 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001409/0.3721, allocations: 314.7 kB / 1.309 GB, free: 15.13 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 2.226e-05/0.3721, allocations: 8 kB / 1.309 GB, free: 15.12 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.832e-05/0.3721, allocations: 36.28 kB / 1.309 GB, free: 15.07 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 7.242e-05/0.3722, allocations: 48.23 kB / 1.309 GB, free: 15.01 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.3722, allocations: 4 kB / 1.309 GB, free: 15 MB / 1.014 GB
Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001139/0.3723, allocations: 65.55 kB / 1.309 GB, free: 14.93 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.3723, allocations: 4.625 kB / 1.309 GB, free: 14.93 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.3723, allocations: 0 / 1.309 GB, free: 14.93 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.3724, allocations: 7.938 kB / 1.309 GB, free: 14.92 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.025e-05/0.3724, allocations: 8 kB / 1.309 GB, free: 14.91 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.3725, allocations: 0 / 1.309 GB, free: 14.91 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.408e-05/0.3725, allocations: 12.16 kB / 1.309 GB, free: 14.9 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-06/0.3725, allocations: 0 / 1.309 GB, free: 14.9 MB / 1.014 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.444e-05/0.3726, allocations: 118.6 kB / 1.309 GB, free: 14.78 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.232e-05/0.3726, allocations: 0 / 1.309 GB, free: 14.78 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002189/0.3728, allocations: 116.4 kB / 1.31 GB, free: 14.66 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.3728, allocations: 128 / 1.31 GB, free: 14.66 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/0.3728, allocations: 8 kB / 1.31 GB, free: 14.65 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.3728, allocations: 0 / 1.31 GB, free: 14.65 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001467/0.373, allocations: 136.7 kB / 1.31 GB, free: 14.48 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.373, allocations: 4 kB / 1.31 GB, free: 14.47 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.326e-05/0.3731, allocations: 15.98 kB / 1.31 GB, free: 14.46 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.3731, allocations: 0 / 1.31 GB, free: 14.46 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.3731, allocations: 7.938 kB / 1.31 GB, free: 14.45 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.3731, allocations: 0 / 1.31 GB, free: 14.45 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/0.3731, allocations: 12.09 kB / 1.31 GB, free: 14.44 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001545/0.3732, allocations: 120.4 kB / 1.31 GB, free: 14.29 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.046e-05/0.3733, allocations: 15.88 kB / 1.31 GB, free: 14.27 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.3733, allocations: 3.938 kB / 1.31 GB, free: 14.27 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.099e-05/0.3733, allocations: 8 kB / 1.31 GB, free: 14.26 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.292e-05/0.3733, allocations: 7.984 kB / 1.31 GB, free: 14.25 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.3733, allocations: 4 kB / 1.31 GB, free: 14.25 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 4.22e-05/0.3734, allocations: 75.28 kB / 1.31 GB, free: 14.18 MB / 1.014 GB
Notification: Performance of sort global known variables: time 6.1e-08/0.3734, allocations: 0 / 1.31 GB, free: 14.18 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002062/0.3736, allocations: 8 kB / 1.31 GB, free: 14.17 MB / 1.014 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.0001769/0.3738, allocations: 103.2 kB / 1.31 GB, free: 14.05 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.000133/0.3739, allocations: 39.86 kB / 1.31 GB, free: 14.02 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3739, allocations: 0 / 1.31 GB, free: 14.02 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 4.102e-05/0.3739, allocations: 27.92 kB / 1.31 GB, free: 13.99 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000172/0.3741, allocations: 5.875 kB / 1.31 GB, free: 13.98 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000334/0.3744, allocations: 152.8 kB / 1.31 GB, free: 13.8 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.3748, allocations: 0.6807 MB / 1.311 GB, free: 13.09 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 3.762e-05/0.3748, allocations: 7.984 kB / 1.311 GB, free: 13.08 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.006e-05/0.3748, allocations: 15.44 kB / 1.311 GB, free: 13.07 MB / 1.014 GB
Notification: Performance of SimCode: time 3.31e-07/0.3748, allocations: 0 / 1.311 GB, free: 13.07 MB / 1.014 GB
Notification: Performance of Templates: time 0.003285/0.3781, allocations: 0.5905 MB / 1.311 GB, free: 12.48 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_Round.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.927217124029994]