Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.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.002051/0.002051, 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.002853/0.002853, allocations: 221.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.508/1.508, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.883/2.883, allocations: 476.7 MB / 0.7714 GB, free: 4.266 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.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.002056/0.002056, allocations: 70.62 kB / 1.119 GB, free: 40.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.3428, allocations: 170 MB / 1.285 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001857/0.3447, allocations: 0.5995 MB / 1.285 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0005116/0.3452, allocations: 179.6 kB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.467e-05/0.3452, allocations: 0 / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.415e-05/0.3452, allocations: 0 / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.311e-06/0.3452, allocations: 0 / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004115/0.3456, allocations: 59.81 kB / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 4.513e-05/0.3457, allocations: 4 kB / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.108e-05/0.3457, allocations: 0 / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.27e-05/0.3457, allocations: 3.938 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.506e-05/0.3458, allocations: 4 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.734e-06/0.3458, allocations: 0 / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001914/0.3459, allocations: 59.88 kB / 1.286 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.04e-05/0.346, allocations: 3.984 kB / 1.286 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.616e-05/0.346, allocations: 3.938 kB / 1.286 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.3461, allocations: 35.89 kB / 1.286 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.3461, allocations: 4 kB / 1.286 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3461, allocations: 4 kB / 1.286 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.3461, allocations: 0 / 1.286 GB, free: 10.21 MB / 0.9825 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.0003175/0.3464, allocations: 234.4 kB / 1.286 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.3465, allocations: 12.03 kB / 1.286 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.002e-05/0.3465, allocations: 4.922 kB / 1.286 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.62e-05/0.3466, allocations: 106.5 kB / 1.286 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.3466, allocations: 384 / 1.286 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.544e-06/0.3466, allocations: 384 / 1.286 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.969e-05/0.3467, allocations: 34.2 kB / 1.286 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.3467, allocations: 4.188 kB / 1.286 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.3467, allocations: 3.938 kB / 1.286 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.758e-06/0.3467, allocations: 0 / 1.286 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.755e-05/0.3468, allocations: 0 / 1.286 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001464/0.3469, allocations: 124.7 kB / 1.286 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.97e-05/0.347, allocations: 18.58 kB / 1.286 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.597e-05/0.347, allocations: 4.859 kB / 1.286 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005736/0.3475, allocations: 83.95 kB / 1.286 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.3476, allocations: 30.56 kB / 1.286 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.3476, allocations: 0 / 1.286 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001363/0.3477, allocations: 37.62 kB / 1.286 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.532e-05/0.3478, allocations: 51.53 kB / 1.286 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.785e-05/0.3478, allocations: 93.86 kB / 1.286 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.3478, allocations: 25.7 kB / 1.286 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.051e-05/0.3479, allocations: 84.12 kB / 1.286 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.524e-05/0.3479, allocations: 7.953 kB / 1.286 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.07e-05/0.3479, allocations: 13.72 kB / 1.287 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.3481, allocations: 310.8 kB / 1.287 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.147e-06/0.3481, allocations: 0 / 1.287 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.001e-05/0.3481, allocations: 7.938 kB / 1.287 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.538e-05/0.3481, allocations: 8.922 kB / 1.287 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3481, allocations: 4 kB / 1.287 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.087e-05/0.3482, allocations: 33.69 kB / 1.287 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.3482, allocations: 4 kB / 1.287 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.3482, allocations: 0 / 1.287 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.3482, allocations: 3.938 kB / 1.287 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.279e-05/0.3483, allocations: 4 kB / 1.287 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.3483, allocations: 0 / 1.287 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.378e-06/0.3483, allocations: 0 / 1.287 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-06/0.3483, allocations: 8.031 kB / 1.287 GB, free: 8.691 MB / 0.9825 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.594e-05/0.3484, allocations: 109.8 kB / 1.287 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.225e-06/0.3484, allocations: 4 kB / 1.287 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.111e-05/0.3485, allocations: 48.56 kB / 1.287 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.3485, allocations: 0 / 1.287 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.3485, allocations: 0 / 1.287 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.3485, allocations: 0 / 1.287 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001056/0.3486, allocations: 116.8 kB / 1.287 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.3486, allocations: 8.016 kB / 1.287 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.09e-05/0.3486, allocations: 4 kB / 1.287 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.3486, allocations: 0 / 1.287 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.3486, allocations: 7.875 kB / 1.287 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.3486, allocations: 0 / 1.287 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3486, allocations: 0 / 1.287 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.053e-05/0.3487, allocations: 57.08 kB / 1.287 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.416e-06/0.3487, allocations: 7.984 kB / 1.287 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.3487, allocations: 7.969 kB / 1.287 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.197e-06/0.3487, allocations: 3.984 kB / 1.287 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.269e-05/0.3487, allocations: 4 kB / 1.287 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-06/0.3487, allocations: 0 / 1.287 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.117e-05/0.3488, allocations: 75.28 kB / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3488, allocations: 0 / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002131/0.349, allocations: 15.94 kB / 1.287 GB, free: 8.156 MB / 0.9825 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.000231/0.3492, allocations: 115.2 kB / 1.287 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.787e-05/0.3493, allocations: 4 kB / 1.287 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3493, allocations: 0 / 1.287 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.083e-05/0.3493, allocations: 7.938 kB / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001409/0.3494, allocations: 0 / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002297/0.3497, allocations: 110.7 kB / 1.288 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.35, allocations: 0.6729 MB / 1.288 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.517e-05/0.35, allocations: 7.438 kB / 1.288 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.35, allocations: 0 / 1.288 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of Templates: time 0.002151/0.3522, allocations: 0.5559 MB / 1.289 GB, free: 6.617 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.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: 11.582869670994114]