Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.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.001597/0.001597, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001876/0.001876, allocations: 213.8 kB / 22.25 MB, free: 4.855 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.572/1.572, allocations: 230.6 MB / 256 MB, free: 7.793 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.996/2.996, allocations: 476 MB / 0.7699 GB, free: 4.711 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.BesselY0,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY0,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_BesselY0",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.002206/0.002206, allocations: 68.36 kB / 1.117 GB, free: 41.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3928/0.395, allocations: 170 MB / 1.283 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.002988/0.398, allocations: 1.457 MB / 1.284 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0007852/0.3988, allocations: 323 kB / 1.284 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.91e-05/0.3988, allocations: 0 / 1.284 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.214e-05/0.3988, allocations: 3.938 kB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.084e-05/0.3989, allocations: 3.938 kB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004945/0.3994, allocations: 97.97 kB / 1.284 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.543e-05/0.3995, allocations: 23.92 kB / 1.284 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.3996, allocations: 4 kB / 1.284 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.651e-05/0.3996, allocations: 15.97 kB / 1.284 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.157e-05/0.3997, allocations: 7.938 kB / 1.284 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.338e-06/0.3997, allocations: 0 / 1.284 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002366/0.3999, allocations: 123.8 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.252e-05/0.3999, allocations: 0 / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.344e-05/0.3999, allocations: 11.92 kB / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002068/0.4001, allocations: 93.38 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.4002, allocations: 0 / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.886e-06/0.4002, allocations: 0 / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.4002, allocations: 0 / 1.285 GB, free: 10.27 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.0005168/0.4007, allocations: 278.2 kB / 1.285 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.4007, allocations: 12.02 kB / 1.285 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.541e-05/0.4008, allocations: 30.75 kB / 1.285 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.795e-05/0.4008, allocations: 8.938 kB / 1.285 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.4009, allocations: 102.5 kB / 1.285 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.4009, allocations: 384 / 1.285 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.4009, allocations: 8.375 kB / 1.285 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.4011, allocations: 46.23 kB / 1.285 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.4011, allocations: 7.875 kB / 1.285 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.739e-06/0.4011, allocations: 4 kB / 1.285 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.4011, allocations: 4 kB / 1.285 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001627/0.4013, allocations: 39.95 kB / 1.285 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003415/0.4017, allocations: 216 kB / 1.285 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.4018, allocations: 38.48 kB / 1.285 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.082e-05/0.4019, allocations: 24.91 kB / 1.285 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005396/0.4024, allocations: 75.92 kB / 1.286 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.4025, allocations: 38.5 kB / 1.286 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.4025, allocations: 0 / 1.286 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003623/0.4028, allocations: 81.64 kB / 1.286 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.4029, allocations: 51.41 kB / 1.286 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.094e-05/0.403, allocations: 101.8 kB / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.403, allocations: 25.83 kB / 1.286 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.85e-05/0.403, allocations: 88.14 kB / 1.286 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.782e-05/0.4031, allocations: 3.953 kB / 1.286 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.575e-05/0.4031, allocations: 13.72 kB / 1.286 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001718/0.4033, allocations: 318.8 kB / 1.286 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.117e-05/0.4034, allocations: 11.98 kB / 1.286 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.349e-05/0.4034, allocations: 19.92 kB / 1.286 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.4036, allocations: 44.88 kB / 1.286 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.4036, allocations: 7.875 kB / 1.286 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002037/0.4038, allocations: 61.67 kB / 1.286 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.4038, allocations: 4 kB / 1.286 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.4038, allocations: 0 / 1.286 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.4038, allocations: 0 / 1.286 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.871e-05/0.4039, allocations: 11.98 kB / 1.286 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.4039, allocations: 0 / 1.286 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.986e-05/0.404, allocations: 12.02 kB / 1.286 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.992e-06/0.404, allocations: 0 / 1.286 GB, free: 8.32 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 0.0001136/0.4041, allocations: 125.7 kB / 1.286 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.486e-05/0.4041, allocations: 3.953 kB / 1.287 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002596/0.4044, allocations: 64.97 kB / 1.287 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.4044, allocations: 4.188 kB / 1.287 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.4044, allocations: 0 / 1.287 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.4044, allocations: 3.984 kB / 1.287 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001789/0.4046, allocations: 132.7 kB / 1.287 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4046, allocations: 0 / 1.287 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.843e-05/0.4046, allocations: 11.98 kB / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.4046, allocations: 0 / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.4047, allocations: 4 kB / 1.287 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.4047, allocations: 0 / 1.287 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4047, allocations: 0 / 1.287 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002846/0.4049, allocations: 165.2 kB / 1.287 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.055e-06/0.405, allocations: 8.031 kB / 1.287 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.405, allocations: 4 kB / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.661e-05/0.405, allocations: 7.984 kB / 1.287 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.454e-05/0.4051, allocations: 4 kB / 1.287 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-06/0.4051, allocations: 0 / 1.287 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.809e-05/0.4051, allocations: 83.27 kB / 1.287 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.4051, allocations: 0 / 1.287 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002649/0.4054, allocations: 27.94 kB / 1.287 GB, free: 7.613 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.0007443/0.4062, allocations: 0.7357 MB / 1.288 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002262/0.4064, allocations: 39.98 kB / 1.288 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.4064, allocations: 4 kB / 1.288 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.142e-05/0.4065, allocations: 19.92 kB / 1.288 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.4067, allocations: 6.188 kB / 1.288 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004795/0.4072, allocations: 159 kB / 1.288 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.906e-05/0.4073, allocations: 55.36 kB / 1.288 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.148e-05/0.4073, allocations: 3.938 kB / 1.288 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.634e-05/0.4073, allocations: 19.55 kB / 1.288 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.4073, allocations: 0 / 1.288 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03164/0.439, allocations: 2.28 MB / 1.29 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.96, allocations: 13.55 kB / 1.29 GB, free: 4.32 MB / 0.9825 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Examples.BesselY0_res.csv --start-time 0.1 --stop-time 30 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01196 Buildings_11_Buildings_Utilities_Math_Examples_BesselY0.fmu > Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BesselY0_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_BesselY0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.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: 19.234193614218384]