Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.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.001666/0.001666, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002413/0.002413, allocations: 219.5 kB / 23.01 MB, free: 4.609 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.445/1.445, allocations: 230.6 MB / 256.8 MB, free: 8.047 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.214/3.214, allocations: 0.505 GB / 0.8108 GB, free: 22.03 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.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.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.002222/0.002222, allocations: 73 kB / 1.178 GB, free: 16.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.3348, allocations: 180.2 MB / 1.354 GB, free: 7.926 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.00266/0.3375, allocations: 1.467 MB / 1.356 GB, free: 6.449 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0005518/0.338, allocations: 259.2 kB / 1.356 GB, free: 6.195 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.622e-05/0.338, allocations: 4 kB / 1.356 GB, free: 6.191 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.738e-05/0.3381, allocations: 0 / 1.356 GB, free: 6.191 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.588e-05/0.3381, allocations: 3.938 kB / 1.356 GB, free: 6.188 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003382/0.3384, allocations: 59.81 kB / 1.356 GB, free: 6.129 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.474e-05/0.3385, allocations: 27.86 kB / 1.356 GB, free: 6.102 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.001e-05/0.3386, allocations: 3.984 kB / 1.356 GB, free: 6.098 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.81e-05/0.3386, allocations: 8 kB / 1.356 GB, free: 6.09 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.406e-05/0.3387, allocations: 15.92 kB / 1.356 GB, free: 6.074 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 8.246e-06/0.3387, allocations: 0 / 1.356 GB, free: 6.074 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001423/0.3388, allocations: 63.95 kB / 1.356 GB, free: 6.012 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.113e-05/0.3388, allocations: 7.922 kB / 1.356 GB, free: 6.004 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.451e-05/0.3389, allocations: 11.92 kB / 1.356 GB, free: 5.992 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001407/0.339, allocations: 55.81 kB / 1.356 GB, free: 5.938 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.339, allocations: 4 kB / 1.356 GB, free: 5.934 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.963e-06/0.339, allocations: 0 / 1.356 GB, free: 5.934 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.339, allocations: 0 / 1.356 GB, free: 5.934 MB / 1.045 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.0004502/0.3395, allocations: 270.2 kB / 1.356 GB, free: 5.637 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.3395, allocations: 8.031 kB / 1.356 GB, free: 5.629 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.811e-05/0.3395, allocations: 8.922 kB / 1.356 GB, free: 5.621 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.3396, allocations: 114.5 kB / 1.356 GB, free: 5.484 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.643e-06/0.3396, allocations: 384 / 1.356 GB, free: 5.484 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.3397, allocations: 4.375 kB / 1.356 GB, free: 5.48 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.3398, allocations: 46.23 kB / 1.356 GB, free: 5.43 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.3398, allocations: 192 / 1.356 GB, free: 5.43 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.3398, allocations: 11.88 kB / 1.356 GB, free: 5.418 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.3398, allocations: 0 / 1.356 GB, free: 5.418 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001626/0.34, allocations: 35.91 kB / 1.356 GB, free: 5.383 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003276/0.3403, allocations: 216 kB / 1.357 GB, free: 5.129 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.3405, allocations: 38.5 kB / 1.357 GB, free: 5.082 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.881e-05/0.3406, allocations: 24.91 kB / 1.357 GB, free: 5.055 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005511/0.3411, allocations: 83.91 kB / 1.357 GB, free: 4.973 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.3411, allocations: 34.5 kB / 1.357 GB, free: 4.93 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.3411, allocations: 0 / 1.357 GB, free: 4.93 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0003489/0.3415, allocations: 85.64 kB / 1.357 GB, free: 4.84 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.3415, allocations: 51.41 kB / 1.357 GB, free: 4.777 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.181e-05/0.3416, allocations: 97.84 kB / 1.357 GB, free: 4.672 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.3416, allocations: 25.7 kB / 1.357 GB, free: 4.641 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.755e-05/0.3417, allocations: 88.14 kB / 1.357 GB, free: 4.551 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.493e-05/0.3417, allocations: 3.953 kB / 1.357 GB, free: 4.547 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.988e-05/0.3417, allocations: 9.719 kB / 1.357 GB, free: 4.531 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.3419, allocations: 323 kB / 1.358 GB, free: 4.207 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.729e-05/0.3419, allocations: 15.97 kB / 1.358 GB, free: 4.191 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.137e-05/0.342, allocations: 19.92 kB / 1.358 GB, free: 4.172 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/0.3421, allocations: 36.83 kB / 1.358 GB, free: 4.133 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.3421, allocations: 0 / 1.358 GB, free: 4.133 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001872/0.3423, allocations: 81.73 kB / 1.358 GB, free: 4.047 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.3423, allocations: 4 kB / 1.358 GB, free: 4.043 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.3423, allocations: 0 / 1.358 GB, free: 4.043 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.3424, allocations: 0 / 1.358 GB, free: 4.043 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.268e-05/0.3424, allocations: 15.97 kB / 1.358 GB, free: 4.027 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.3424, allocations: 0 / 1.358 GB, free: 4.027 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.44e-05/0.3425, allocations: 7.984 kB / 1.358 GB, free: 4.02 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.3425, allocations: 0 / 1.358 GB, free: 4.02 MB / 1.045 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 8.596e-05/0.3426, allocations: 129.6 kB / 1.358 GB, free: 3.883 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.585e-05/0.3426, allocations: 4 kB / 1.358 GB, free: 3.879 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002092/0.3428, allocations: 64.97 kB / 1.358 GB, free: 3.812 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.3428, allocations: 0 / 1.358 GB, free: 3.812 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.3428, allocations: 0 / 1.358 GB, free: 3.812 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.3428, allocations: 4 kB / 1.358 GB, free: 3.809 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.343, allocations: 132.7 kB / 1.358 GB, free: 3.637 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.343, allocations: 4.031 kB / 1.358 GB, free: 3.633 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.348e-05/0.343, allocations: 4 kB / 1.358 GB, free: 3.629 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.343, allocations: 0 / 1.358 GB, free: 3.629 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.3431, allocations: 8 kB / 1.358 GB, free: 3.621 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3431, allocations: 0 / 1.358 GB, free: 3.621 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.3431, allocations: 3.984 kB / 1.358 GB, free: 3.617 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002399/0.3433, allocations: 167.4 kB / 1.358 GB, free: 3.438 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.237e-05/0.3433, allocations: 11.88 kB / 1.358 GB, free: 3.426 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.095e-05/0.3433, allocations: 3.938 kB / 1.358 GB, free: 3.422 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.08e-05/0.3434, allocations: 4 kB / 1.358 GB, free: 3.418 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.023e-05/0.3434, allocations: 7.984 kB / 1.358 GB, free: 3.41 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.3434, allocations: 4 kB / 1.358 GB, free: 3.406 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.02e-05/0.3435, allocations: 75.28 kB / 1.358 GB, free: 3.332 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3435, allocations: 4 kB / 1.358 GB, free: 3.328 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002347/0.3437, allocations: 12 kB / 1.358 GB, free: 3.316 MB / 1.045 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 (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 Backend phase and start with SimCode phase: time 0.0001987/0.3439, allocations: 118.3 kB / 1.358 GB, free: 3.191 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002081/0.3441, allocations: 31.97 kB / 1.358 GB, free: 3.16 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3441, allocations: 7.938 kB / 1.358 GB, free: 3.152 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 8.082e-05/0.3442, allocations: 24.03 kB / 1.358 GB, free: 3.129 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.3444, allocations: 10.12 kB / 1.358 GB, free: 3.121 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002936/0.3447, allocations: 135.2 kB / 1.359 GB, free: 2.957 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.345, allocations: 0.6768 MB / 1.359 GB, free: 2.254 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.432e-05/0.345, allocations: 11.44 kB / 1.359 GB, free: 2.242 MB / 1.045 GB Notification: Performance of SimCode: time 2.91e-07/0.345, allocations: 0 / 1.359 GB, free: 2.242 MB / 1.045 GB Notification: Performance of Templates: time 0.002316/0.3474, allocations: 0.7635 MB / 1.36 GB, free: 1.48 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.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.022844577993965]