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.001667/0.001667, allocations: 114.3 kB / 18.94 MB, free: 2.793 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.001933/0.001933, allocations: 222.2 kB / 22.26 MB, free: 5.211 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.503/1.503, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] 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 3.342/3.342, allocations: 0.505 GB / 0.8101 GB, free: 22 MB / 0.6231 GB " [Timeout remaining time 176] 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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ1",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.001966/0.001966, allocations: 64.33 kB / 1.177 GB, free: 16.97 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.403/0.4049, allocations: 180.2 MB / 1.353 GB, free: 8.445 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002726/0.4077, allocations: 1.467 MB / 1.354 GB, free: 6.969 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0006584/0.4083, allocations: 255.2 kB / 1.355 GB, free: 6.719 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.808e-05/0.4083, allocations: 0 / 1.355 GB, free: 6.719 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.582e-05/0.4084, allocations: 7.938 kB / 1.355 GB, free: 6.711 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.175e-05/0.4084, allocations: 4 kB / 1.355 GB, free: 6.707 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003861/0.4088, allocations: 59.77 kB / 1.355 GB, free: 6.648 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.628e-05/0.4089, allocations: 23.92 kB / 1.355 GB, free: 6.625 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.914e-05/0.409, allocations: 4 kB / 1.355 GB, free: 6.621 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.125e-05/0.409, allocations: 11.98 kB / 1.355 GB, free: 6.609 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.929e-05/0.4091, allocations: 15.92 kB / 1.355 GB, free: 6.594 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 8.656e-06/0.4091, allocations: 0 / 1.355 GB, free: 6.594 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001475/0.4092, allocations: 59.88 kB / 1.355 GB, free: 6.535 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.326e-05/0.4092, allocations: 8 kB / 1.355 GB, free: 6.527 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.808e-05/0.4093, allocations: 11.94 kB / 1.355 GB, free: 6.516 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001599/0.4094, allocations: 56.06 kB / 1.355 GB, free: 6.461 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.4094, allocations: 0 / 1.355 GB, free: 6.461 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.753e-06/0.4094, allocations: 0 / 1.355 GB, free: 6.461 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.221e-05/0.4095, allocations: 0 / 1.355 GB, free: 6.461 MB / 1.045 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.000484/0.4099, allocations: 274.2 kB / 1.355 GB, free: 6.16 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.41, allocations: 8.031 kB / 1.355 GB, free: 6.152 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.518e-05/0.4101, allocations: 38.69 kB / 1.355 GB, free: 6.105 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.181e-05/0.4101, allocations: 0.9375 kB / 1.355 GB, free: 6.105 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.4102, allocations: 114.5 kB / 1.355 GB, free: 5.969 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.411e-05/0.4102, allocations: 384 / 1.355 GB, free: 5.969 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/0.4102, allocations: 4.375 kB / 1.355 GB, free: 5.965 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.4104, allocations: 46.23 kB / 1.355 GB, free: 5.914 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.4104, allocations: 3.938 kB / 1.355 GB, free: 5.91 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.303e-06/0.4104, allocations: 4 kB / 1.355 GB, free: 5.906 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.4104, allocations: 0 / 1.355 GB, free: 5.906 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001562/0.4106, allocations: 31.95 kB / 1.355 GB, free: 5.875 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003459/0.4109, allocations: 220 kB / 1.355 GB, free: 5.617 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.4111, allocations: 46.52 kB / 1.356 GB, free: 5.562 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.919e-05/0.4112, allocations: 24.91 kB / 1.356 GB, free: 5.535 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005642/0.4118, allocations: 83.91 kB / 1.356 GB, free: 5.453 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.4118, allocations: 34.5 kB / 1.356 GB, free: 5.41 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.4118, allocations: 0 / 1.356 GB, free: 5.41 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0003465/0.4121, allocations: 85.67 kB / 1.356 GB, free: 5.32 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.4122, allocations: 55.41 kB / 1.356 GB, free: 5.254 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.808e-05/0.4122, allocations: 93.86 kB / 1.356 GB, free: 5.152 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.4123, allocations: 25.7 kB / 1.356 GB, free: 5.121 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.219e-05/0.4123, allocations: 92.12 kB / 1.356 GB, free: 5.027 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.824e-05/0.4123, allocations: 7.938 kB / 1.356 GB, free: 5.02 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.899e-05/0.4124, allocations: 9.719 kB / 1.356 GB, free: 5.004 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.4125, allocations: 318.8 kB / 1.356 GB, free: 4.684 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.5e-05/0.4126, allocations: 16.02 kB / 1.356 GB, free: 4.668 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.612e-05/0.4126, allocations: 19.92 kB / 1.356 GB, free: 4.648 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.4128, allocations: 40.81 kB / 1.356 GB, free: 4.605 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.4128, allocations: 3.938 kB / 1.356 GB, free: 4.602 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001835/0.413, allocations: 77.61 kB / 1.356 GB, free: 4.52 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.413, allocations: 4 kB / 1.356 GB, free: 4.516 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.413, allocations: 0 / 1.356 GB, free: 4.516 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.413, allocations: 0 / 1.356 GB, free: 4.516 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.705e-05/0.4131, allocations: 12 kB / 1.357 GB, free: 4.504 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.4131, allocations: 3.984 kB / 1.357 GB, free: 4.5 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.239e-05/0.4131, allocations: 4 kB / 1.357 GB, free: 4.496 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.4131, allocations: 0 / 1.357 GB, free: 4.496 MB / 1.045 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.663e-05/0.4132, allocations: 117.8 kB / 1.357 GB, free: 4.371 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.64e-05/0.4132, allocations: 8 kB / 1.357 GB, free: 4.363 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002133/0.4135, allocations: 72.89 kB / 1.357 GB, free: 4.289 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.4135, allocations: 0 / 1.357 GB, free: 4.289 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.4135, allocations: 0 / 1.357 GB, free: 4.289 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.4135, allocations: 0 / 1.357 GB, free: 4.289 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001669/0.4136, allocations: 132.7 kB / 1.357 GB, free: 4.117 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.4136, allocations: 0 / 1.357 GB, free: 4.117 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.387e-05/0.4137, allocations: 12.02 kB / 1.357 GB, free: 4.105 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.4137, allocations: 0 / 1.357 GB, free: 4.105 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.4137, allocations: 4 kB / 1.357 GB, free: 4.102 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.4137, allocations: 0 / 1.357 GB, free: 4.102 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.778e-06/0.4137, allocations: 3.984 kB / 1.357 GB, free: 4.098 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002602/0.414, allocations: 167.5 kB / 1.357 GB, free: 3.918 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.091e-05/0.414, allocations: 7.891 kB / 1.357 GB, free: 3.91 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.414, allocations: 0 / 1.357 GB, free: 3.91 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.279e-05/0.4141, allocations: 7.984 kB / 1.357 GB, free: 3.902 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.091e-05/0.4141, allocations: 3.938 kB / 1.357 GB, free: 3.898 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.4141, allocations: 4 kB / 1.357 GB, free: 3.895 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.346e-05/0.4141, allocations: 83.27 kB / 1.357 GB, free: 3.812 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4141, allocations: 3.938 kB / 1.357 GB, free: 3.809 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000236/0.4144, allocations: 16 kB / 1.357 GB, free: 3.793 MB / 1.045 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.0006525/0.415, allocations: 0.7085 MB / 1.358 GB, free: 3.055 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002078/0.4152, allocations: 43.91 kB / 1.358 GB, free: 3.012 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4152, allocations: 3.938 kB / 1.358 GB, free: 3.008 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 7.823e-05/0.4153, allocations: 15.98 kB / 1.358 GB, free: 2.992 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002266/0.4155, allocations: 7.984 kB / 1.358 GB, free: 2.984 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004232/0.416, allocations: 147.2 kB / 1.358 GB, free: 2.801 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.4163, allocations: 0.6768 MB / 1.359 GB, free: 2.098 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.892e-05/0.4163, allocations: 0 / 1.359 GB, free: 2.098 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.883e-05/0.4163, allocations: 11.44 kB / 1.359 GB, free: 2.086 MB / 1.045 GB Notification: Performance of SimCode: time 3.4e-07/0.4163, allocations: 4 kB / 1.359 GB, free: 2.082 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0282/0.4445, allocations: 1.624 MB / 1.36 GB, free: 0.582 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.4, allocations: 3.75 kB / 1.36 GB, free: 0.582 MB / 1.045 GB " [Timeout remaining time 288] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1_res.csv --start-time 0 --stop-time 30 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.012 Buildings_latest_Buildings_Utilities_Math_Examples_BesselJ1.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1_res.csv","/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: 18.432707376999133]