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.001344/0.001344, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.001437/0.001437, allocations: 157.3 kB / 23.01 MB, free: 4.602 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.398/1.398, allocations: 177.2 MB / 203.4 MB, free: 8.887 MB / 190.1 MB " [Timeout remaining time 179] 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 2.863/2.863, allocations: 394.2 MB / 0.6386 GB, free: 11.91 MB / 0.6075 GB " [Timeout remaining time 177] 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.00233/0.00233, allocations: 71.89 kB / 1.009 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8118/0.8141, allocations: 181.8 MB / 1.187 GB, free: 16.19 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002198/0.8163, allocations: 1.463 MB / 1.188 GB, free: 15.19 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0004641/0.8168, allocations: 243.3 kB / 1.188 GB, free: 15.04 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.799e-05/0.8168, allocations: 0 / 1.188 GB, free: 15.04 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.226e-05/0.8168, allocations: 0 / 1.188 GB, free: 15.04 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 3.849e-05/0.8169, allocations: 9.875 kB / 1.188 GB, free: 15.03 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003128/0.8172, allocations: 62.38 kB / 1.188 GB, free: 15 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 6.026e-05/0.8172, allocations: 24.59 kB / 1.188 GB, free: 14.99 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 7.465e-05/0.8173, allocations: 3.172 kB / 1.188 GB, free: 14.99 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 3.226e-05/0.8173, allocations: 12.22 kB / 1.188 GB, free: 14.98 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 3.312e-05/0.8174, allocations: 5.719 kB / 1.188 GB, free: 14.98 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.017e-05/0.8174, allocations: 2.156 kB / 1.188 GB, free: 14.98 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001328/0.8175, allocations: 59.38 kB / 1.188 GB, free: 14.96 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.631e-05/0.8175, allocations: 10.09 kB / 1.188 GB, free: 14.96 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 1.869e-05/0.8176, allocations: 6.531 kB / 1.188 GB, free: 14.95 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001543/0.8177, allocations: 61.69 kB / 1.188 GB, free: 14.93 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.8177, allocations: 1.094 kB / 1.188 GB, free: 14.93 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.502e-06/0.8177, allocations: 0.6094 kB / 1.188 GB, free: 14.93 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.8177, allocations: 0 / 1.188 GB, free: 14.93 MB / 1.076 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.0003355/0.8181, allocations: 267.5 kB / 1.189 GB, free: 14.66 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.8181, allocations: 9.5 kB / 1.189 GB, free: 14.66 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.617e-05/0.8181, allocations: 5.953 kB / 1.189 GB, free: 14.66 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.335e-05/0.8182, allocations: 107.2 kB / 1.189 GB, free: 14.53 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.8182, allocations: 384 / 1.189 GB, free: 14.53 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.125e-06/0.8182, allocations: 5.438 kB / 1.189 GB, free: 14.53 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.8183, allocations: 50.7 kB / 1.189 GB, free: 14.49 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.8184, allocations: 192 / 1.189 GB, free: 14.49 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.8184, allocations: 7.938 kB / 1.189 GB, free: 14.48 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.8184, allocations: 1.031 kB / 1.189 GB, free: 14.48 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001658/0.8185, allocations: 36.2 kB / 1.189 GB, free: 14.48 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002044/0.8187, allocations: 190.3 kB / 1.189 GB, free: 14.27 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.8189, allocations: 36.44 kB / 1.189 GB, free: 14.25 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.49e-05/0.8189, allocations: 24.12 kB / 1.189 GB, free: 14.23 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005064/0.8195, allocations: 84.69 kB / 1.189 GB, free: 14.22 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.665e-05/0.8195, allocations: 36.06 kB / 1.189 GB, free: 14.18 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.8195, allocations: 0 / 1.189 GB, free: 14.18 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0003301/0.8198, allocations: 83.27 kB / 1.189 GB, free: 14.14 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.521e-05/0.8198, allocations: 57.12 kB / 1.189 GB, free: 14.07 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.122e-05/0.8199, allocations: 96.61 kB / 1.19 GB, free: 13.97 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.352e-06/0.8199, allocations: 25.7 kB / 1.19 GB, free: 13.94 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.119e-05/0.8199, allocations: 90.2 kB / 1.19 GB, free: 13.85 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.44e-05/0.8199, allocations: 10.05 kB / 1.19 GB, free: 13.84 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.511e-05/0.8199, allocations: 12.48 kB / 1.19 GB, free: 13.83 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.618e-05/0.82, allocations: 322.1 kB / 1.19 GB, free: 13.51 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.062e-05/0.82, allocations: 14.2 kB / 1.19 GB, free: 13.51 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.15e-05/0.8201, allocations: 18.53 kB / 1.19 GB, free: 13.5 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.8203, allocations: 40.77 kB / 1.19 GB, free: 13.49 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.8203, allocations: 0 / 1.19 GB, free: 13.49 MB / 1.076 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001823/0.8204, allocations: 72.36 kB / 1.19 GB, free: 13.45 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.8205, allocations: 4.875 kB / 1.19 GB, free: 13.45 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.8205, allocations: 0 / 1.19 GB, free: 13.45 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.8205, allocations: 0 / 1.19 GB, free: 13.45 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.737e-05/0.8205, allocations: 9.781 kB / 1.19 GB, free: 13.45 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.8206, allocations: 0 / 1.19 GB, free: 13.45 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.599e-05/0.8206, allocations: 6.422 kB / 1.19 GB, free: 13.45 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.91e-06/0.8206, allocations: 1.375 kB / 1.19 GB, free: 13.45 MB / 1.076 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 4.025e-05/0.8206, allocations: 112.9 kB / 1.19 GB, free: 13.33 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.349e-05/0.8207, allocations: 13.7 kB / 1.19 GB, free: 13.32 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002047/0.8209, allocations: 70.55 kB / 1.19 GB, free: 13.27 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.8209, allocations: 1.766 kB / 1.19 GB, free: 13.27 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.8209, allocations: 0 / 1.19 GB, free: 13.27 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.8209, allocations: 0 / 1.19 GB, free: 13.27 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.957e-05/0.821, allocations: 104.5 kB / 1.19 GB, free: 13.14 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.821, allocations: 2.031 kB / 1.19 GB, free: 13.14 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.537e-05/0.821, allocations: 11.64 kB / 1.19 GB, free: 13.14 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.821, allocations: 9.219 kB / 1.19 GB, free: 13.13 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.381e-06/0.821, allocations: 0.6562 kB / 1.19 GB, free: 13.13 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.821, allocations: 0 / 1.19 GB, free: 13.13 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.821, allocations: 1.156 kB / 1.19 GB, free: 13.13 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001941/0.8212, allocations: 167.4 kB / 1.191 GB, free: 12.99 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.484e-06/0.8212, allocations: 9.875 kB / 1.191 GB, free: 12.98 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.8212, allocations: 2 kB / 1.191 GB, free: 12.98 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.528e-05/0.8213, allocations: 4.891 kB / 1.191 GB, free: 12.98 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.363e-05/0.8214, allocations: 11.2 kB / 1.191 GB, free: 12.97 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.8214, allocations: 1.156 kB / 1.191 GB, free: 12.97 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.231e-05/0.8214, allocations: 84.39 kB / 1.191 GB, free: 12.89 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.8214, allocations: 0 / 1.191 GB, free: 12.89 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002395/0.8216, allocations: 14.84 kB / 1.191 GB, free: 12.89 MB / 1.076 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.0001473/0.8218, allocations: 110.3 kB / 1.191 GB, free: 12.8 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002045/0.822, allocations: 40.2 kB / 1.191 GB, free: 12.79 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.822, allocations: 0 / 1.191 GB, free: 12.79 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 8.387e-05/0.8221, allocations: 23.44 kB / 1.191 GB, free: 12.79 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/0.8223, allocations: 2.969 kB / 1.191 GB, free: 12.79 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002133/0.8225, allocations: 108.4 kB / 1.191 GB, free: 12.67 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.345e-05/0.8225, allocations: 60.59 kB / 1.191 GB, free: 12.6 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.933e-05/0.8225, allocations: 5.281 kB / 1.191 GB, free: 12.6 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.931e-05/0.8226, allocations: 10.34 kB / 1.191 GB, free: 12.59 MB / 1.076 GB Notification: Performance of SimCode: time 3.1e-07/0.8226, allocations: 0 / 1.191 GB, free: 12.59 MB / 1.076 GB Notification: Performance of Templates: time 0.0031/0.8257, allocations: 0.6934 MB / 1.192 GB, free: 12.49 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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: 8.37269169499632]