Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001655/0.001655, allocations: 103.2 kB / 16.45 MB, free: 6.504 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.001894/0.001894, allocations: 212.9 kB / 19.43 MB, free: 3.656 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.469/1.469, allocations: 230.6 MB / 252.8 MB, free: 8.949 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.25/3.25, allocations: 0.4899 GB / 0.7915 GB, free: 33.28 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.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0",fileNamePrefix="Buildings_12_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_12_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.002459/0.002459, allocations: 77.91 kB / 1.149 GB, free: 26.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3536, allocations: 176.1 MB / 1.321 GB, free: 2.797 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001805/0.3554, allocations: 0.5748 MB / 1.322 GB, free: 2.223 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0005384/0.356, allocations: 183.8 kB / 1.322 GB, free: 2.043 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.635e-05/0.356, allocations: 0 / 1.322 GB, free: 2.043 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.6e-05/0.356, allocations: 3.938 kB / 1.322 GB, free: 2.039 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.402e-06/0.356, allocations: 0 / 1.322 GB, free: 2.039 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003922/0.3564, allocations: 51.88 kB / 1.322 GB, free: 1.988 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 4.085e-05/0.3564, allocations: 0 / 1.322 GB, free: 1.988 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.822e-05/0.3565, allocations: 7.938 kB / 1.322 GB, free: 1.98 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.475e-05/0.3565, allocations: 3.938 kB / 1.322 GB, free: 1.977 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 2.256e-05/0.3565, allocations: 4 kB / 1.322 GB, free: 1.973 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.913e-06/0.3565, allocations: 0 / 1.322 GB, free: 1.973 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001756/0.3567, allocations: 63.92 kB / 1.322 GB, free: 1.91 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.713e-06/0.3567, allocations: 4 kB / 1.322 GB, free: 1.906 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.421e-05/0.3567, allocations: 3.938 kB / 1.322 GB, free: 1.902 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001184/0.3568, allocations: 39.81 kB / 1.322 GB, free: 1.863 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.3568, allocations: 8 kB / 1.322 GB, free: 1.855 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3568, allocations: 0 / 1.322 GB, free: 1.855 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.1e-05/0.3569, allocations: 0 / 1.322 GB, free: 1.855 MB / 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.0003671/0.3572, allocations: 313.2 kB / 1.323 GB, free: 1.5 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.3573, allocations: 11.98 kB / 1.323 GB, free: 1.488 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.927e-05/0.3573, allocations: 4.938 kB / 1.323 GB, free: 1.484 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.3574, allocations: 168.4 kB / 1.323 GB, free: 1.281 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.3574, allocations: 384 / 1.323 GB, free: 1.281 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.3574, allocations: 384 / 1.323 GB, free: 1.281 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.3575, allocations: 26.27 kB / 1.323 GB, free: 1.25 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.3576, allocations: 192 / 1.323 GB, free: 1.25 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.3576, allocations: 7.938 kB / 1.323 GB, free: 1.242 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3576, allocations: 0 / 1.323 GB, free: 1.242 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.965e-05/0.3576, allocations: 3.938 kB / 1.323 GB, free: 1.238 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001602/0.3577, allocations: 149.7 kB / 1.323 GB, free: 1.043 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 4.631e-05/0.3578, allocations: 22.61 kB / 1.323 GB, free: 1.012 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.762e-05/0.3578, allocations: 8.797 kB / 1.323 GB, free: 1 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007611/0.3586, allocations: 453.5 kB / 1.323 GB, free: 476 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.3586, allocations: 34.56 kB / 1.323 GB, free: 432 kB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.3586, allocations: 0 / 1.323 GB, free: 432 kB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0001324/0.3587, allocations: 41.56 kB / 1.323 GB, free: 384 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.3588, allocations: 51.41 kB / 1.323 GB, free: 320 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.615e-05/0.3588, allocations: 89.86 kB / 1.324 GB, free: 220 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.3588, allocations: 25.7 kB / 1.324 GB, free: 188 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 3.269e-05/0.3589, allocations: 80.14 kB / 1.324 GB, free: 104 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.282e-05/0.3589, allocations: 11.95 kB / 1.324 GB, free: 92 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.807e-05/0.3589, allocations: 9.844 kB / 1.324 GB, free: 76 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.3591, allocations: 314.8 kB / 1.324 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.307e-06/0.3591, allocations: 0 / 1.324 GB, free: 15.76 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.756e-06/0.3591, allocations: 4 kB / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.525e-05/0.3591, allocations: 8.844 kB / 1.324 GB, free: 15.74 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.3591, allocations: 4 kB / 1.324 GB, free: 15.74 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.642e-05/0.3592, allocations: 41.64 kB / 1.324 GB, free: 15.69 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.3592, allocations: 6.5 kB / 1.324 GB, free: 15.69 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3592, allocations: 4.094 kB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.3592, allocations: 3.938 kB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.734e-05/0.3593, allocations: 4 kB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.3593, allocations: 0 / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.416e-06/0.3593, allocations: 0 / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-06/0.3593, allocations: 0 / 1.324 GB, free: 15.68 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 7.656e-05/0.3594, allocations: 113.8 kB / 1.324 GB, free: 15.55 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.226e-06/0.3594, allocations: 4 kB / 1.324 GB, free: 15.55 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.199e-05/0.3595, allocations: 44.7 kB / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.3595, allocations: 3.984 kB / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3595, allocations: 0 / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-06/0.3595, allocations: 0 / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001149/0.3596, allocations: 149.7 kB / 1.324 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.3596, allocations: 0 / 1.324 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.434e-05/0.3596, allocations: 4 kB / 1.324 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.3596, allocations: 0 / 1.324 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.3596, allocations: 3.938 kB / 1.324 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.3596, allocations: 0 / 1.324 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3596, allocations: 3.938 kB / 1.324 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.05e-05/0.3597, allocations: 65.16 kB / 1.324 GB, free: 15.21 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.849e-05/0.3597, allocations: 77.11 kB / 1.324 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.168e-05/0.3597, allocations: 3.938 kB / 1.324 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.783e-06/0.3597, allocations: 0 / 1.324 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.041e-05/0.3597, allocations: 0 / 1.324 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-06/0.3598, allocations: 0 / 1.324 GB, free: 15.11 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.37e-05/0.3598, allocations: 79.22 kB / 1.325 GB, free: 15.03 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3598, allocations: 8.031 kB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002099/0.36, allocations: 11.94 kB / 1.325 GB, free: 15.01 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.0002206/0.3602, allocations: 119.2 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.318e-05/0.3603, allocations: 4 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.3603, allocations: 0 / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.841e-06/0.3603, allocations: 4.062 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001266/0.3604, allocations: 4 kB / 1.325 GB, free: 14.87 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001964/0.3606, allocations: 84.83 kB / 1.325 GB, free: 14.76 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.3609, allocations: 0.669 MB / 1.325 GB, free: 14.07 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.14e-05/0.3609, allocations: 4 kB / 1.325 GB, free: 14.06 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.325e-05/0.361, allocations: 7.438 kB / 1.325 GB, free: 14.05 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.361, allocations: 0 / 1.325 GB, free: 14.05 MB / 1.029 GB Notification: Performance of Templates: time 0.00266/0.3636, allocations: 420.4 kB / 1.326 GB, free: 13.64 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.625864762347192]