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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002001/0.002001, allocations: 109.1 kB / 19.71 MB, free: 2.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001996/0.001996, allocations: 213.7 kB / 23 MB, free: 4.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.521/1.521, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.313/3.313, allocations: 0.49 GB / 0.7959 GB, free: 35.34 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002088/0.002088, allocations: 67.5 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4332/0.4353, allocations: 176.1 MB / 1.327 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001933/0.4372, allocations: 0.61 MB / 1.328 GB, free: 384 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002864/0.4375, allocations: 60.19 kB / 1.328 GB, free: 324 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.936e-05/0.4375, allocations: 4 kB / 1.328 GB, free: 320 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.608e-05/0.4375, allocations: 0 / 1.328 GB, free: 320 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 1.827e-05/0.4375, allocations: 3.938 kB / 1.328 GB, free: 316 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002541/0.4378, allocations: 19.98 kB / 1.328 GB, free: 296 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.773e-05/0.4379, allocations: 19.91 kB / 1.328 GB, free: 276 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.356e-05/0.4379, allocations: 4 kB / 1.328 GB, free: 272 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.988e-05/0.4379, allocations: 4 kB / 1.328 GB, free: 268 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.658e-05/0.438, allocations: 7.984 kB / 1.328 GB, free: 260 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.438, allocations: 4 kB / 1.328 GB, free: 256 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.051e-05/0.4381, allocations: 8 kB / 1.328 GB, free: 248 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.262e-05/0.4381, allocations: 15.91 kB / 1.328 GB, free: 232 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.651e-05/0.4381, allocations: 0 / 1.328 GB, free: 232 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 9.481e-05/0.4382, allocations: 27.8 kB / 1.328 GB, free: 204 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.4382, allocations: 0 / 1.328 GB, free: 204 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.312e-06/0.4382, allocations: 0 / 1.328 GB, free: 204 kB / 1.014 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.4382, allocations: 0 / 1.328 GB, free: 204 kB / 1.014 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.0004145/0.4386, allocations: 246.4 kB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.4387, allocations: 16.03 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.167e-05/0.4387, allocations: 0.9375 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.611e-05/0.4388, allocations: 106.5 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.4388, allocations: 4.375 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.4388, allocations: 384 / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.439, allocations: 74.48 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.439, allocations: 192 / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.439, allocations: 7.938 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.439, allocations: 0 / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.932e-05/0.439, allocations: 19.86 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001853/0.4392, allocations: 132.8 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.4393, allocations: 97.17 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.271e-05/0.4394, allocations: 40.28 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001579/0.4396, allocations: 4 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.4396, allocations: 38.5 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.4396, allocations: 0 / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of matching and sorting (n=5): time 0.0002102/0.4398, allocations: 77.48 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001134/0.4399, allocations: 154.8 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.08e-05/0.44, allocations: 93.86 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.44, allocations: 29.7 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.498e-05/0.44, allocations: 80.14 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.448e-05/0.4401, allocations: 19.83 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.83e-05/0.4401, allocations: 17.72 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.4403, allocations: 314.8 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.15e-05/0.4403, allocations: 3.984 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.356e-05/0.4403, allocations: 40.23 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.285e-05/0.4404, allocations: 52.22 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.4404, allocations: 0 / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001057/0.4405, allocations: 57.62 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.4405, allocations: 11.94 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.4405, allocations: 0 / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.4406, allocations: 4 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.295e-05/0.4406, allocations: 19.92 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.4407, allocations: 8.094 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.004e-05/0.4407, allocations: 4.078 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.4407, allocations: 11.98 kB / 1.33 GB, free: 14.14 MB / 1.029 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.428e-05/0.4408, allocations: 109.8 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.362e-05/0.4408, allocations: 0 / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002172/0.441, allocations: 100.7 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.441, allocations: 4.031 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.441, allocations: 3.938 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.364e-06/0.441, allocations: 7.953 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.441, allocations: 15.92 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.922e-05/0.4411, allocations: 0 / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.315e-05/0.4411, allocations: 4 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003069/0.4414, allocations: 473.9 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003285/0.4417, allocations: 0.5351 MB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.599e-05/0.4418, allocations: 23.98 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.048e-05/0.4418, allocations: 75.28 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of Backend: time 1.61e-07/0.4418, allocations: 0 / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007134/0.4425, allocations: 107 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of SimCode: time 0.0005211/0.4431, allocations: 0.5642 MB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of Templates: time 0.003173/0.4462, allocations: 0.6301 MB / 1.332 GB, free: 11.41 MB / 1.029 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/jenkins1/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: 9.430514615007269]