Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001299/0.001299, allocations: 110.2 kB / 19.69 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.00205/0.00205, allocations: 216.7 kB / 23.01 MB, free: 4.566 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: 8.035 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.347/3.347, allocations: 0.49 GB / 0.7958 GB, free: 33.46 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.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1",fileNamePrefix="Buildings_12_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_12_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.002329/0.002329, allocations: 65.3 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3913/0.3937, allocations: 176.1 MB / 1.327 GB, free: 1.426 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001985/0.3957, allocations: 0.5885 MB / 1.328 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0005794/0.3962, allocations: 207.7 kB / 1.328 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.716e-05/0.3963, allocations: 0 / 1.328 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.176e-05/0.3963, allocations: 0 / 1.328 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.314e-06/0.3963, allocations: 0 / 1.328 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004031/0.3967, allocations: 55.83 kB / 1.328 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 4.162e-05/0.3967, allocations: 4 kB / 1.328 GB, free: 0.582 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.955e-05/0.3968, allocations: 0 / 1.328 GB, free: 0.582 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.264e-05/0.3968, allocations: 3.938 kB / 1.328 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 2.965e-05/0.3968, allocations: 3.984 kB / 1.328 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 9.518e-06/0.3968, allocations: 4 kB / 1.328 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001888/0.397, allocations: 59.88 kB / 1.328 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 8.415e-06/0.397, allocations: 0 / 1.328 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.88e-05/0.397, allocations: 4 kB / 1.328 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001253/0.3971, allocations: 39.88 kB / 1.328 GB, free: 480 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3972, allocations: 0 / 1.328 GB, free: 480 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3972, allocations: 0 / 1.328 GB, free: 480 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.3972, allocations: 4 kB / 1.328 GB, free: 476 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003177/0.3975, allocations: 234.4 kB / 1.328 GB, free: 208 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.3975, allocations: 15.97 kB / 1.328 GB, free: 192 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.305e-05/0.3976, allocations: 4.922 kB / 1.328 GB, free: 188 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.214e-05/0.3976, allocations: 106.5 kB / 1.328 GB, free: 56 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.125e-06/0.3977, allocations: 384 / 1.328 GB, free: 56 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.3977, allocations: 4.375 kB / 1.328 GB, free: 52 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.3978, allocations: 26.27 kB / 1.328 GB, free: 20 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.3978, allocations: 192 / 1.328 GB, free: 20 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.3978, allocations: 7.938 kB / 1.328 GB, free: 12 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.3978, allocations: 0 / 1.328 GB, free: 12 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.059e-05/0.3978, allocations: 4 kB / 1.328 GB, free: 8 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001828/0.398, allocations: 120.7 kB / 1.329 GB, free: 15.85 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 4.946e-05/0.398, allocations: 22.52 kB / 1.329 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.842e-05/0.3981, allocations: 8.953 kB / 1.329 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006491/0.3987, allocations: 75.92 kB / 1.329 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.99e-05/0.3988, allocations: 34.55 kB / 1.329 GB, free: 15.69 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.3988, allocations: 0 / 1.329 GB, free: 15.69 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0001419/0.3989, allocations: 33.64 kB / 1.329 GB, free: 15.65 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.3989, allocations: 55.34 kB / 1.329 GB, free: 15.58 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.618e-05/0.399, allocations: 93.98 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.399, allocations: 25.7 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.77e-05/0.399, allocations: 80.14 kB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.278e-05/0.3991, allocations: 7.953 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.202e-05/0.3991, allocations: 13.72 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.3992, allocations: 310.8 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.008e-05/0.3993, allocations: 3.938 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.415e-06/0.3993, allocations: 7.984 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.73e-05/0.3993, allocations: 8.922 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.3993, allocations: 4 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.688e-05/0.3994, allocations: 29.7 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.3994, allocations: 7.938 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.3994, allocations: 0 / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.3994, allocations: 3.938 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.258e-05/0.3994, allocations: 4 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.3994, allocations: 0 / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.246e-05/0.3995, allocations: 4 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.197e-06/0.3995, allocations: 4.031 kB / 1.329 GB, free: 14.94 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 (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 8.079e-05/0.3995, allocations: 110.4 kB / 1.33 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.277e-06/0.3995, allocations: 4 kB / 1.33 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.57e-05/0.3996, allocations: 36.64 kB / 1.33 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.3996, allocations: 0 / 1.33 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.3996, allocations: 4 kB / 1.33 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3996, allocations: 0 / 1.33 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001069/0.3998, allocations: 120.8 kB / 1.33 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3998, allocations: 4.031 kB / 1.33 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.163e-05/0.3998, allocations: 4 kB / 1.33 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3998, allocations: 3.938 kB / 1.33 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.3998, allocations: 7.875 kB / 1.33 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3998, allocations: 0 / 1.33 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3998, allocations: 0 / 1.33 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.672e-05/0.3999, allocations: 61.11 kB / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.744e-06/0.3999, allocations: 4 kB / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.3999, allocations: 7.969 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.732e-06/0.3999, allocations: 0 / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.903e-05/0.3999, allocations: 4 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-06/0.3999, allocations: 0 / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.704e-05/0.3999, allocations: 75.28 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3999, allocations: 0 / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002038/0.4001, allocations: 15.94 kB / 1.33 GB, free: 14.41 MB / 1.029 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.0002093/0.4004, allocations: 115.2 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.019e-05/0.4004, allocations: 7.938 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.4004, allocations: 0 / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.055e-06/0.4004, allocations: 4 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001295/0.4006, allocations: 3.984 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002455/0.4008, allocations: 114.7 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.4011, allocations: 0.6729 MB / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.775e-05/0.4011, allocations: 11.38 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.4011, allocations: 0 / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of Templates: time 0.002243/0.4034, allocations: 0.5581 MB / 1.331 GB, free: 12.85 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.752831026009517]