Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0016/0.0016, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001751/0.001751, allocations: 215.9 kB / 22.25 MB, free: 5.125 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.492/1.492, allocations: 230.6 MB / 256 MB, free: 7.965 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.402/3.402, allocations: 0.505 GB / 0.8101 GB, free: 22.04 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.BesselY0,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY0,fileNamePrefix="Buildings_latest_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.001977/0.001977, allocations: 61.94 kB / 1.177 GB, free: 17.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4425/0.4444, allocations: 180.2 MB / 1.353 GB, free: 8.43 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.003155/0.4476, allocations: 1.466 MB / 1.354 GB, free: 6.957 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0008522/0.4484, allocations: 338.9 kB / 1.355 GB, free: 6.625 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.108e-05/0.4485, allocations: 0 / 1.355 GB, free: 6.625 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.572e-05/0.4485, allocations: 3.938 kB / 1.355 GB, free: 6.621 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.127e-05/0.4485, allocations: 4 kB / 1.355 GB, free: 6.617 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004843/0.449, allocations: 99.7 kB / 1.355 GB, free: 6.52 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.453e-05/0.4491, allocations: 23.92 kB / 1.355 GB, free: 6.496 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.4492, allocations: 11.98 kB / 1.355 GB, free: 6.484 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.85e-05/0.4493, allocations: 11.94 kB / 1.355 GB, free: 6.473 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.492e-05/0.4493, allocations: 11.98 kB / 1.355 GB, free: 6.461 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.032e-05/0.4493, allocations: 3.938 kB / 1.355 GB, free: 6.457 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002486/0.4496, allocations: 127.8 kB / 1.355 GB, free: 6.332 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.468e-05/0.4496, allocations: 7.984 kB / 1.355 GB, free: 6.324 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.126e-05/0.4496, allocations: 15.94 kB / 1.355 GB, free: 6.309 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002172/0.4498, allocations: 84.03 kB / 1.355 GB, free: 6.227 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.4498, allocations: 0 / 1.355 GB, free: 6.227 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.295e-06/0.4498, allocations: 0 / 1.355 GB, free: 6.227 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.4498, allocations: 0 / 1.355 GB, free: 6.227 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.0005607/0.4504, allocations: 274.2 kB / 1.355 GB, free: 5.926 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.4505, allocations: 11.97 kB / 1.355 GB, free: 5.914 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.723e-05/0.4505, allocations: 34.69 kB / 1.355 GB, free: 5.871 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.771e-05/0.4505, allocations: 4.938 kB / 1.355 GB, free: 5.867 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.4507, allocations: 122.4 kB / 1.355 GB, free: 5.723 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.4507, allocations: 384 / 1.355 GB, free: 5.723 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.4507, allocations: 4.375 kB / 1.355 GB, free: 5.719 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002049/0.4509, allocations: 46.23 kB / 1.355 GB, free: 5.668 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.4509, allocations: 7.938 kB / 1.355 GB, free: 5.66 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.4509, allocations: 0 / 1.355 GB, free: 5.66 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.4509, allocations: 0 / 1.355 GB, free: 5.66 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001716/0.4511, allocations: 27.97 kB / 1.356 GB, free: 5.633 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004258/0.4515, allocations: 228 kB / 1.356 GB, free: 5.367 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001499/0.4517, allocations: 38.5 kB / 1.356 GB, free: 5.32 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.885e-05/0.4518, allocations: 24.89 kB / 1.356 GB, free: 5.293 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006093/0.4524, allocations: 79.91 kB / 1.356 GB, free: 5.215 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/0.4524, allocations: 30.56 kB / 1.356 GB, free: 5.176 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.4524, allocations: 0 / 1.356 GB, free: 5.176 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0003902/0.4528, allocations: 89.67 kB / 1.356 GB, free: 5.082 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.927e-05/0.4528, allocations: 51.41 kB / 1.356 GB, free: 5.02 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.867e-05/0.4529, allocations: 97.86 kB / 1.356 GB, free: 4.914 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.453, allocations: 25.7 kB / 1.356 GB, free: 4.883 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.105e-05/0.453, allocations: 92.11 kB / 1.356 GB, free: 4.789 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.05e-05/0.4531, allocations: 3.953 kB / 1.356 GB, free: 4.785 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.513e-05/0.4531, allocations: 13.72 kB / 1.356 GB, free: 4.766 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.4533, allocations: 314.8 kB / 1.357 GB, free: 4.449 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.911e-05/0.4533, allocations: 20.02 kB / 1.357 GB, free: 4.43 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.032e-05/0.4534, allocations: 15.97 kB / 1.357 GB, free: 4.414 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.4536, allocations: 36.83 kB / 1.357 GB, free: 4.375 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.4536, allocations: 3.938 kB / 1.357 GB, free: 4.371 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001945/0.4538, allocations: 77.61 kB / 1.357 GB, free: 4.289 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.4538, allocations: 4 kB / 1.357 GB, free: 4.285 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.4538, allocations: 0 / 1.357 GB, free: 4.285 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.4538, allocations: 0 / 1.357 GB, free: 4.285 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.046e-05/0.4539, allocations: 11.98 kB / 1.357 GB, free: 4.273 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.4539, allocations: 0 / 1.357 GB, free: 4.273 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.512e-05/0.4539, allocations: 8 kB / 1.357 GB, free: 4.266 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.4539, allocations: 3.938 kB / 1.357 GB, free: 4.262 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 9.636e-05/0.454, allocations: 121.7 kB / 1.357 GB, free: 4.133 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.36e-05/0.4541, allocations: 7.984 kB / 1.357 GB, free: 4.125 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002275/0.4543, allocations: 76.91 kB / 1.357 GB, free: 4.047 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.4543, allocations: 0 / 1.357 GB, free: 4.047 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.4543, allocations: 0 / 1.357 GB, free: 4.047 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.4543, allocations: 4 kB / 1.357 GB, free: 4.043 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002035/0.4545, allocations: 128.7 kB / 1.357 GB, free: 3.875 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4545, allocations: 0 / 1.357 GB, free: 3.875 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.518e-05/0.4546, allocations: 15.95 kB / 1.357 GB, free: 3.859 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.4546, allocations: 0 / 1.357 GB, free: 3.859 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/0.4546, allocations: 4 kB / 1.357 GB, free: 3.855 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.4546, allocations: 0 / 1.357 GB, free: 3.855 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.4546, allocations: 0 / 1.357 GB, free: 3.855 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002596/0.4548, allocations: 167.5 kB / 1.357 GB, free: 3.676 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.035e-05/0.4548, allocations: 3.953 kB / 1.357 GB, free: 3.672 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.4549, allocations: 3.938 kB / 1.357 GB, free: 3.668 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.244e-05/0.4549, allocations: 7.984 kB / 1.357 GB, free: 3.66 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.609e-05/0.455, allocations: 0 / 1.357 GB, free: 3.66 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.644e-06/0.455, allocations: 4 kB / 1.357 GB, free: 3.656 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.638e-05/0.455, allocations: 83.27 kB / 1.357 GB, free: 3.574 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.455, allocations: 0 / 1.357 GB, free: 3.574 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002593/0.4553, allocations: 27.94 kB / 1.357 GB, free: 3.547 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.0007116/0.456, allocations: 0.7319 MB / 1.358 GB, free: 2.785 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000222/0.4562, allocations: 39.89 kB / 1.358 GB, free: 2.746 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.4562, allocations: 0 / 1.358 GB, free: 2.746 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 7.892e-05/0.4563, allocations: 15.98 kB / 1.358 GB, free: 2.73 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.4565, allocations: 12.12 kB / 1.358 GB, free: 2.719 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000519/0.4571, allocations: 147 kB / 1.358 GB, free: 2.535 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.4574, allocations: 0.6729 MB / 1.359 GB, free: 1.836 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.379e-05/0.4574, allocations: 4 kB / 1.359 GB, free: 1.832 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.871e-05/0.4575, allocations: 11.42 kB / 1.359 GB, free: 1.82 MB / 1.045 GB Notification: Performance of SimCode: time 3.1e-07/0.4575, allocations: 3.938 kB / 1.359 GB, free: 1.816 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03077/0.4882, allocations: 1.867 MB / 1.361 GB, free: 72 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.24, allocations: 8.547 kB / 1.361 GB, free: 68 kB / 1.045 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0_res.csv --start-time 0.1 --stop-time 30 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01196 Buildings_latest_Buildings_Utilities_Math_Examples_BesselY0.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselY0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 18.46304457699989]