Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00161/0.00161, allocations: 113 kB / 18.94 MB, free: 2.934 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.001996/0.001996, allocations: 210.2 kB / 22.25 MB, free: 5.086 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.51/1.51, allocations: 230.6 MB / 256 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.934/2.934, allocations: 476.8 MB / 0.7707 GB, free: 4.238 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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) [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.002068/0.002068, allocations: 68.97 kB / 1.117 GB, free: 40.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3248, allocations: 169.9 MB / 1.283 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002928/0.3278, allocations: 1.465 MB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0005543/0.3283, allocations: 251.2 kB / 1.285 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.724e-05/0.3283, allocations: 0 / 1.285 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.053e-05/0.3284, allocations: 3.938 kB / 1.285 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.033e-05/0.3284, allocations: 3.984 kB / 1.285 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003565/0.3288, allocations: 59.83 kB / 1.285 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.59e-05/0.3288, allocations: 19.92 kB / 1.285 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.377e-05/0.3289, allocations: 8 kB / 1.285 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.35e-05/0.329, allocations: 11.98 kB / 1.285 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.268e-05/0.329, allocations: 11.92 kB / 1.285 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.329, allocations: 4 kB / 1.285 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001593/0.3292, allocations: 63.88 kB / 1.285 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.6e-05/0.3292, allocations: 4 kB / 1.285 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.86e-05/0.3292, allocations: 7.938 kB / 1.285 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001425/0.3294, allocations: 59.36 kB / 1.285 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3294, allocations: 0 / 1.285 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3294, allocations: 0 / 1.285 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.209e-06/0.3294, allocations: 0 / 1.285 GB, free: 9.746 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004609/0.3299, allocations: 274.2 kB / 1.286 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.3299, allocations: 8.031 kB / 1.286 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.86e-05/0.3299, allocations: 34.75 kB / 1.286 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.347e-05/0.33, allocations: 0.9375 kB / 1.286 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.3301, allocations: 106.5 kB / 1.286 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.3301, allocations: 4.375 kB / 1.286 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.3301, allocations: 4.375 kB / 1.286 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.3303, allocations: 46.23 kB / 1.286 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.3303, allocations: 11.94 kB / 1.286 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.3303, allocations: 4 kB / 1.286 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3303, allocations: 0 / 1.286 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001651/0.3305, allocations: 35.95 kB / 1.286 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003291/0.3308, allocations: 216 kB / 1.286 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.3309, allocations: 46.44 kB / 1.286 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.445e-05/0.331, allocations: 20.89 kB / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005221/0.3315, allocations: 71.92 kB / 1.286 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.3316, allocations: 38.56 kB / 1.286 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.3316, allocations: 0 / 1.286 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.000356/0.3319, allocations: 81.58 kB / 1.286 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/0.332, allocations: 59.34 kB / 1.286 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.546e-05/0.3321, allocations: 102 kB / 1.286 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.3321, allocations: 25.7 kB / 1.286 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.771e-05/0.3321, allocations: 84.27 kB / 1.287 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.586e-05/0.3321, allocations: 3.953 kB / 1.287 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.17e-05/0.3322, allocations: 17.72 kB / 1.287 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.3323, allocations: 314.8 kB / 1.287 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.257e-05/0.3324, allocations: 19.97 kB / 1.287 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.161e-05/0.3325, allocations: 15.98 kB / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.3326, allocations: 40.89 kB / 1.287 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.3326, allocations: 3.938 kB / 1.287 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001944/0.3328, allocations: 65.59 kB / 1.287 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.3328, allocations: 8 kB / 1.287 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.3328, allocations: 48 / 1.287 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.3329, allocations: 3.984 kB / 1.287 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.877e-05/0.3329, allocations: 8.016 kB / 1.287 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.3329, allocations: 8 kB / 1.287 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.886e-05/0.333, allocations: 3.984 kB / 1.287 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.485e-06/0.333, allocations: 8 kB / 1.287 GB, free: 7.789 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 (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 8.012e-05/0.3331, allocations: 109.8 kB / 1.287 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.595e-05/0.3331, allocations: 3.953 kB / 1.287 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002304/0.3333, allocations: 76.97 kB / 1.287 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.3333, allocations: 3.938 kB / 1.287 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.3333, allocations: 0 / 1.287 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.3333, allocations: 0 / 1.287 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001707/0.3335, allocations: 136.6 kB / 1.287 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.3335, allocations: 0 / 1.287 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.699e-05/0.3336, allocations: 8 kB / 1.287 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.3336, allocations: 0 / 1.287 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.3336, allocations: 0 / 1.287 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.3336, allocations: 3.984 kB / 1.287 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3336, allocations: 0 / 1.287 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002507/0.3338, allocations: 159.5 kB / 1.287 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.406e-05/0.3339, allocations: 15.98 kB / 1.288 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.19e-05/0.3339, allocations: 0 / 1.288 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.815e-05/0.3339, allocations: 8 kB / 1.288 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.06e-05/0.334, allocations: 7.922 kB / 1.288 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-06/0.334, allocations: 4.031 kB / 1.288 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.421e-05/0.334, allocations: 79.28 kB / 1.288 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.334, allocations: 3.938 kB / 1.288 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002507/0.3343, allocations: 20 kB / 1.288 GB, free: 7.09 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 (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.0006375/0.3349, allocations: 0.7124 MB / 1.288 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002033/0.3351, allocations: 35.95 kB / 1.288 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3351, allocations: 0 / 1.288 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.402e-05/0.3352, allocations: 23.98 kB / 1.288 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/0.3354, allocations: 14.28 kB / 1.288 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004258/0.3359, allocations: 148 kB / 1.289 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/0.3362, allocations: 0.6768 MB / 1.289 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.96e-05/0.3362, allocations: 0 / 1.289 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.959e-05/0.3363, allocations: 7.438 kB / 1.289 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of SimCode: time 3.3e-07/0.3363, allocations: 0 / 1.289 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02859/0.3648, allocations: 1.609 MB / 1.291 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.53/10.89, allocations: 11.52 kB / 1.291 GB, free: 3.891 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0_res.csv --start-time 0 --stop-time 30 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.012 Buildings_11_Buildings_Utilities_Math_Examples_BesselJ0.fmu > Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 18.12161075399854]