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.001245/0.001245, 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.001505/0.001505, allocations: 220.8 kB / 23.01 MB, free: 4.605 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.423/1.423, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.195/3.195, allocations: 0.49 GB / 0.7958 GB, free: 33.43 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.002036/0.002036, allocations: 67.27 kB / 1.155 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3864/0.3884, allocations: 176.1 MB / 1.327 GB, free: 1.465 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002766/0.3912, allocations: 1.471 MB / 1.329 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0005855/0.3918, allocations: 243.2 kB / 1.329 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.309e-05/0.3918, allocations: 4 kB / 1.329 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.484e-05/0.3919, allocations: 0 / 1.329 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.918e-05/0.3919, allocations: 3.938 kB / 1.329 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004021/0.3923, allocations: 59.81 kB / 1.329 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.349e-05/0.3924, allocations: 23.92 kB / 1.329 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.989e-05/0.3925, allocations: 4 kB / 1.329 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.219e-05/0.3925, allocations: 11.98 kB / 1.329 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.925e-05/0.3926, allocations: 15.92 kB / 1.329 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.576e-06/0.3926, allocations: 0 / 1.329 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001763/0.3928, allocations: 63.88 kB / 1.329 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.205e-05/0.3928, allocations: 4 kB / 1.329 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.618e-05/0.3928, allocations: 11.94 kB / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001575/0.393, allocations: 59.72 kB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.393, allocations: 0 / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.014e-06/0.393, allocations: 4 kB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.078e-05/0.393, allocations: 0 / 1.329 GB, free: 15.49 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.0004789/0.3935, allocations: 270.2 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.3935, allocations: 12.03 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.169e-05/0.3935, allocations: 0.9375 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.3937, allocations: 106.5 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.3937, allocations: 4.375 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.3937, allocations: 384 / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/0.3939, allocations: 58.17 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.3939, allocations: 192 / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.3939, allocations: 3.938 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.3939, allocations: 0 / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001619/0.3941, allocations: 35.95 kB / 1.33 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003572/0.3944, allocations: 220 kB / 1.33 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.3946, allocations: 46.44 kB / 1.33 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.42e-05/0.3947, allocations: 20.89 kB / 1.33 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005098/0.3952, allocations: 75.92 kB / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.3952, allocations: 34.56 kB / 1.33 GB, free: 14.49 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.3952, allocations: 0 / 1.33 GB, free: 14.49 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003521/0.3955, allocations: 77.64 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.3956, allocations: 55.41 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.286e-05/0.3957, allocations: 102 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.3957, allocations: 33.64 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.745e-05/0.3957, allocations: 84.08 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.682e-05/0.3958, allocations: 7.953 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.09e-05/0.3958, allocations: 13.72 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.3959, allocations: 310.8 kB / 1.331 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.052e-05/0.396, allocations: 23.97 kB / 1.331 GB, free: 13.75 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.747e-05/0.3961, allocations: 15.98 kB / 1.331 GB, free: 13.73 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.3962, allocations: 36.83 kB / 1.331 GB, free: 13.69 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3962, allocations: 0 / 1.331 GB, free: 13.69 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001865/0.3964, allocations: 65.59 kB / 1.331 GB, free: 13.62 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.099e-05/0.3964, allocations: 9.719 kB / 1.331 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3964, allocations: 0 / 1.331 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.3965, allocations: 4.094 kB / 1.331 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.576e-05/0.3965, allocations: 11.92 kB / 1.331 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.3965, allocations: 4 kB / 1.331 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.45e-05/0.3966, allocations: 8 kB / 1.331 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.3966, allocations: 3.984 kB / 1.331 GB, free: 13.58 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 7.82e-05/0.3967, allocations: 110.3 kB / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.474e-05/0.3967, allocations: 7.891 kB / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002189/0.3969, allocations: 76.97 kB / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.3969, allocations: 0 / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3969, allocations: 0 / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.3969, allocations: 4 kB / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001551/0.3971, allocations: 128.7 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.3971, allocations: 7.984 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.223e-05/0.3971, allocations: 4 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.3971, allocations: 0 / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.3971, allocations: 0 / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3972, allocations: 7.969 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.3972, allocations: 4 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002307/0.3974, allocations: 159.5 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.375e-05/0.3974, allocations: 11.92 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.077e-05/0.3974, allocations: 0 / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.981e-05/0.3975, allocations: 4.031 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.574e-05/0.3975, allocations: 7.984 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.3975, allocations: 0 / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.603e-05/0.3976, allocations: 83.22 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3976, allocations: 0 / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002365/0.3978, allocations: 20 kB / 1.331 GB, free: 12.88 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 (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.0001981/0.398, allocations: 119.2 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002213/0.3982, allocations: 35.91 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3982, allocations: 0 / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.216e-05/0.3983, allocations: 19.97 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/0.3986, allocations: 11.94 kB / 1.332 GB, free: 12.68 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003673/0.3989, allocations: 139.4 kB / 1.332 GB, free: 12.52 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.3992, allocations: 0.6729 MB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.747e-05/0.3993, allocations: 11.42 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.3993, allocations: 0 / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of Templates: time 0.002614/0.4019, allocations: 0.7691 MB / 1.333 GB, free: 11.04 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: 11.305524547002278]