Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.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.001349/0.001349, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.001459/0.001459, allocations: 209.5 kB / 23 MB, free: 4.934 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.514/1.514, 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.367/3.367, allocations: 0.49 GB / 0.7959 GB, free: 35.41 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.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0") [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.002068/0.002068, allocations: 63.77 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4311/0.4331, allocations: 176.1 MB / 1.327 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.003156/0.4363, allocations: 1.459 MB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0006979/0.437, allocations: 223.3 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.525e-05/0.437, allocations: 4 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.018e-05/0.4371, allocations: 3.938 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.807e-05/0.4371, allocations: 3.938 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004365/0.4376, allocations: 59.38 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.463e-05/0.4376, allocations: 31.86 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.4378, allocations: 0 / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.468e-05/0.4378, allocations: 11.98 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.122e-05/0.4379, allocations: 11.94 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.4379, allocations: 0 / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001794/0.4381, allocations: 63.88 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.159e-05/0.4381, allocations: 7.984 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.68e-05/0.4381, allocations: 7.938 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001686/0.4383, allocations: 47.88 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 9.598e-06/0.4383, allocations: 7.984 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4383, allocations: 0 / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.4383, allocations: 0 / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005714/0.4389, allocations: 274.2 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/0.4389, allocations: 12.03 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.752e-05/0.439, allocations: 0.9375 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/0.4391, allocations: 110.5 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.4391, allocations: 384 / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.368e-06/0.4391, allocations: 4.312 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.4393, allocations: 54.23 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.4393, allocations: 192 / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.4393, allocations: 3.938 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.4394, allocations: 3.984 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001686/0.4395, allocations: 35.95 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003592/0.4399, allocations: 196.5 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.44, allocations: 34.56 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.411e-05/0.4401, allocations: 28.89 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005578/0.4407, allocations: 79.86 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.4407, allocations: 30.56 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.4407, allocations: 0 / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003802/0.4411, allocations: 85.58 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.085e-05/0.4411, allocations: 51.41 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.4413, allocations: 105.8 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.4413, allocations: 25.7 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.205e-05/0.4414, allocations: 84.14 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.631e-05/0.4414, allocations: 3.953 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.1e-05/0.4414, allocations: 13.72 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002214/0.4416, allocations: 314.8 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.841e-05/0.4417, allocations: 20.03 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.306e-05/0.4418, allocations: 19.98 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001642/0.442, allocations: 40.83 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.442, allocations: 0 / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002241/0.4422, allocations: 69.53 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.4422, allocations: 8.094 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.4422, allocations: 4 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-05/0.4423, allocations: 0 / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.928e-05/0.4424, allocations: 7.984 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.637e-06/0.4424, allocations: 0 / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.915e-05/0.4424, allocations: 7.984 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.809e-06/0.4424, allocations: 4 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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.0001275/0.4426, allocations: 106.4 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.415e-05/0.4426, allocations: 11.89 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003128/0.4429, allocations: 80.91 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.4429, allocations: 0 / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.4429, allocations: 3.938 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.132e-06/0.4429, allocations: 0 / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.4429, allocations: 4 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.58e-05/0.443, allocations: 7.984 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.336e-05/0.4431, allocations: 4 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002775/0.4433, allocations: 152.9 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003373/0.4437, allocations: 238.7 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001674/0.4438, allocations: 15.98 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.013e-05/0.4439, allocations: 79.28 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of Backend: time 8.21e-07/0.4439, allocations: 4 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006253/0.4445, allocations: 114.4 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of SimCode: time 0.0006981/0.4452, allocations: 0.5493 MB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of Templates: time 0.004098/0.4493, allocations: 0.8327 MB / 1.333 GB, free: 10.89 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.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.440795720998722]