Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.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.001594/0.001594, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001737/0.001737, allocations: 217.3 kB / 22.99 MB, free: 4.914 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.454/1.454, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.273/3.273, allocations: 0.5107 GB / 0.8166 GB, free: 17.86 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1") [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.002056/0.002056, allocations: 67.47 kB / 1.187 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3343, allocations: 181.9 MB / 1.365 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001783/0.3361, allocations: 0.5991 MB / 1.365 GB, free: 12.99 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0005293/0.3366, allocations: 175.8 kB / 1.365 GB, free: 12.82 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.045e-05/0.3367, allocations: 0 / 1.365 GB, free: 12.82 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.533e-05/0.3367, allocations: 4 kB / 1.365 GB, free: 12.82 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.881e-06/0.3367, allocations: 4 kB / 1.365 GB, free: 12.81 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003544/0.337, allocations: 59.75 kB / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 3.714e-05/0.3371, allocations: 0 / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.484e-05/0.3371, allocations: 8 kB / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.142e-05/0.3371, allocations: 0 / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 1.76e-05/0.3371, allocations: 0 / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.202e-06/0.3372, allocations: 0 / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000164/0.3373, allocations: 59.88 kB / 1.366 GB, free: 12.69 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.598e-06/0.3373, allocations: 0 / 1.366 GB, free: 12.69 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.411e-05/0.3373, allocations: 3.984 kB / 1.366 GB, free: 12.68 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001096/0.3374, allocations: 31.89 kB / 1.366 GB, free: 12.65 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3375, allocations: 4 kB / 1.366 GB, free: 12.65 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3375, allocations: 0 / 1.366 GB, free: 12.65 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.894e-06/0.3375, allocations: 0 / 1.366 GB, free: 12.65 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003344/0.3378, allocations: 246.4 kB / 1.366 GB, free: 12.38 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.3378, allocations: 8.031 kB / 1.366 GB, free: 12.37 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.466e-05/0.3379, allocations: 4.938 kB / 1.366 GB, free: 12.36 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.686e-05/0.3379, allocations: 102.5 kB / 1.366 GB, free: 12.24 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.782e-06/0.3379, allocations: 384 / 1.366 GB, free: 12.24 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-06/0.338, allocations: 384 / 1.366 GB, free: 12.24 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.645e-05/0.338, allocations: 30.27 kB / 1.366 GB, free: 12.2 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.338, allocations: 8.125 kB / 1.366 GB, free: 12.2 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.3381, allocations: 7.875 kB / 1.366 GB, free: 12.19 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.3381, allocations: 3.938 kB / 1.366 GB, free: 12.18 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.601e-05/0.3381, allocations: 0 / 1.366 GB, free: 12.18 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001239/0.3382, allocations: 105.3 kB / 1.366 GB, free: 12.05 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.119e-05/0.3382, allocations: 14.58 kB / 1.366 GB, free: 12.03 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.614e-05/0.3383, allocations: 8.953 kB / 1.366 GB, free: 12.02 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005493/0.3388, allocations: 79.91 kB / 1.366 GB, free: 11.94 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.3388, allocations: 30.56 kB / 1.366 GB, free: 11.9 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.3388, allocations: 0 / 1.366 GB, free: 11.9 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.000132/0.339, allocations: 37.58 kB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.339, allocations: 55.41 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.549e-05/0.3391, allocations: 93.86 kB / 1.366 GB, free: 11.69 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.3391, allocations: 25.7 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.644e-05/0.3391, allocations: 80.14 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.3391, allocations: 0 / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.633e-05/0.3392, allocations: 17.84 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.3393, allocations: 314.8 kB / 1.367 GB, free: 11.23 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.215e-06/0.3393, allocations: 0 / 1.367 GB, free: 11.23 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.639e-06/0.3393, allocations: 0 / 1.367 GB, free: 11.23 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.812e-05/0.3394, allocations: 16.8 kB / 1.367 GB, free: 11.21 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3394, allocations: 0 / 1.367 GB, free: 11.21 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.123e-05/0.3394, allocations: 29.7 kB / 1.367 GB, free: 11.18 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.3394, allocations: 9.875 kB / 1.367 GB, free: 11.17 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.808e-06/0.3394, allocations: 0 / 1.367 GB, free: 11.17 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.3394, allocations: 4.094 kB / 1.367 GB, free: 11.17 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.868e-05/0.3395, allocations: 7.938 kB / 1.367 GB, free: 11.16 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.3395, allocations: 3.984 kB / 1.367 GB, free: 11.16 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.198e-05/0.3395, allocations: 4 kB / 1.367 GB, free: 11.15 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.098e-06/0.3395, allocations: 0 / 1.367 GB, free: 11.15 MB / 1.061 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 (1): * Single equations (assignments): 1 * 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.259e-05/0.3396, allocations: 106.9 kB / 1.367 GB, free: 11.04 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.771e-06/0.3396, allocations: 0 / 1.367 GB, free: 11.04 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.166e-05/0.3397, allocations: 40.64 kB / 1.367 GB, free: 10.99 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.3397, allocations: 7.938 kB / 1.367 GB, free: 10.98 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.3397, allocations: 3.984 kB / 1.367 GB, free: 10.98 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3397, allocations: 8.016 kB / 1.367 GB, free: 10.97 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.441e-05/0.3398, allocations: 97.27 kB / 1.367 GB, free: 10.85 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.3398, allocations: 0 / 1.367 GB, free: 10.85 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.29e-05/0.3398, allocations: 4 kB / 1.367 GB, free: 10.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.3398, allocations: 0 / 1.367 GB, free: 10.84 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.549e-06/0.3398, allocations: 0 / 1.367 GB, free: 10.84 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.3398, allocations: 0 / 1.367 GB, free: 10.84 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.3398, allocations: 3.938 kB / 1.367 GB, free: 10.84 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.329e-05/0.3399, allocations: 65.06 kB / 1.367 GB, free: 10.76 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.496e-06/0.3399, allocations: 3.938 kB / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.725e-06/0.3399, allocations: 4.031 kB / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.812e-06/0.3399, allocations: 0 / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.496e-05/0.3399, allocations: 3.938 kB / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-06/0.3399, allocations: 4 kB / 1.367 GB, free: 10.74 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.421e-05/0.3399, allocations: 75.28 kB / 1.367 GB, free: 10.67 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3399, allocations: 0 / 1.367 GB, free: 10.67 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001922/0.3401, allocations: 15.94 kB / 1.367 GB, free: 10.65 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 1 * 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.0002073/0.3403, allocations: 119.2 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 6.126e-05/0.3404, allocations: 4 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3404, allocations: 0 / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.347e-06/0.3404, allocations: 8 kB / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001173/0.3405, allocations: 1.547 kB / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002326/0.3407, allocations: 114.5 kB / 1.368 GB, free: 10.37 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000139/0.3409, allocations: 51.36 kB / 1.368 GB, free: 10.3 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.8e-05/0.3409, allocations: 7.438 kB / 1.368 GB, free: 10.29 MB / 1.061 GB Notification: Performance of SimCode: time 3.4e-07/0.3409, allocations: 128 / 1.368 GB, free: 10.29 MB / 1.061 GB Notification: Performance of Templates: time 0.002212/0.3431, allocations: 0.563 MB / 1.368 GB, free: 9.727 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.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: 11.209970103111118]