Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.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.001769/0.001769, allocations: 109.9 kB / 16.46 MB, free: 6.508 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.002009/0.002009, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.699/1.699, allocations: 230.6 MB / 252.8 MB, free: 9.113 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.405/3.405, allocations: 0.505 GB / 0.8066 GB, free: 23.23 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.BesselY1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselY1",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.001997/0.001997, allocations: 70.72 kB / 1.172 GB, free: 17.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4373/0.4393, allocations: 180.2 MB / 1.348 GB, free: 10.1 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.003287/0.4426, allocations: 1.449 MB / 1.349 GB, free: 8.645 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001023/0.4436, allocations: 359.2 kB / 1.35 GB, free: 8.293 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.274e-05/0.4437, allocations: 4 kB / 1.35 GB, free: 8.289 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.368e-05/0.4437, allocations: 0 / 1.35 GB, free: 8.289 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.967e-05/0.4437, allocations: 3.938 kB / 1.35 GB, free: 8.285 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000583/0.4443, allocations: 107.7 kB / 1.35 GB, free: 8.18 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.4444, allocations: 23.92 kB / 1.35 GB, free: 8.156 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.4446, allocations: 4 kB / 1.35 GB, free: 8.152 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.647e-05/0.4446, allocations: 11.92 kB / 1.35 GB, free: 8.141 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.193e-05/0.4447, allocations: 15.98 kB / 1.35 GB, free: 8.125 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.4447, allocations: 0 / 1.35 GB, free: 8.125 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003304/0.445, allocations: 135.7 kB / 1.35 GB, free: 7.992 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.54e-05/0.445, allocations: 7.922 kB / 1.35 GB, free: 7.984 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.777e-05/0.445, allocations: 8 kB / 1.35 GB, free: 7.977 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.4453, allocations: 88.02 kB / 1.35 GB, free: 7.891 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.4453, allocations: 0 / 1.35 GB, free: 7.891 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.285e-06/0.4453, allocations: 0 / 1.35 GB, free: 7.891 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.049e-05/0.4453, allocations: 0 / 1.35 GB, free: 7.891 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.0006271/0.4459, allocations: 359.3 kB / 1.35 GB, free: 7.488 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 6.119e-05/0.446, allocations: 11.98 kB / 1.35 GB, free: 7.477 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.515e-05/0.446, allocations: 30.75 kB / 1.35 GB, free: 7.438 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.89e-05/0.446, allocations: 4.938 kB / 1.35 GB, free: 7.434 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.4462, allocations: 172.3 kB / 1.35 GB, free: 7.227 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.4462, allocations: 12.3 kB / 1.35 GB, free: 7.215 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.4462, allocations: 384 / 1.35 GB, free: 7.215 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002377/0.4465, allocations: 54.17 kB / 1.351 GB, free: 7.156 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.4465, allocations: 3.938 kB / 1.351 GB, free: 7.152 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.4465, allocations: 8 kB / 1.351 GB, free: 7.145 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.4465, allocations: 0 / 1.351 GB, free: 7.145 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001798/0.4467, allocations: 27.97 kB / 1.351 GB, free: 7.117 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004285/0.4471, allocations: 252.8 kB / 1.351 GB, free: 6.82 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/0.4473, allocations: 38.5 kB / 1.351 GB, free: 6.773 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.624e-05/0.4474, allocations: 24.91 kB / 1.351 GB, free: 6.746 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009941/0.4484, allocations: 469.4 kB / 1.351 GB, free: 6.195 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.4484, allocations: 34.56 kB / 1.351 GB, free: 6.152 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.393e-06/0.4484, allocations: 0 / 1.351 GB, free: 6.152 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0004313/0.4488, allocations: 85.58 kB / 1.351 GB, free: 6.062 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.838e-05/0.4489, allocations: 51.41 kB / 1.351 GB, free: 6 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.449, allocations: 101.9 kB / 1.352 GB, free: 5.891 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/0.449, allocations: 29.83 kB / 1.352 GB, free: 5.855 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.823e-05/0.4491, allocations: 84.12 kB / 1.352 GB, free: 5.77 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.243e-05/0.4492, allocations: 7.938 kB / 1.352 GB, free: 5.762 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.956e-05/0.4492, allocations: 17.72 kB / 1.352 GB, free: 5.738 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000203/0.4494, allocations: 310.8 kB / 1.352 GB, free: 5.426 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.647e-05/0.4495, allocations: 11.98 kB / 1.352 GB, free: 5.414 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.628e-05/0.4496, allocations: 23.97 kB / 1.352 GB, free: 5.391 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001516/0.4497, allocations: 36.89 kB / 1.352 GB, free: 5.352 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.4497, allocations: 3.938 kB / 1.352 GB, free: 5.348 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000206/0.45, allocations: 77.55 kB / 1.352 GB, free: 5.266 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.45, allocations: 4 kB / 1.352 GB, free: 5.262 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.45, allocations: 4 kB / 1.352 GB, free: 5.258 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.45, allocations: 32 / 1.352 GB, free: 5.258 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.903e-05/0.4501, allocations: 11.98 kB / 1.352 GB, free: 5.246 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.4501, allocations: 0 / 1.352 GB, free: 5.246 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.482e-05/0.4501, allocations: 4 kB / 1.352 GB, free: 5.242 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.4501, allocations: 0 / 1.352 GB, free: 5.242 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 0.0001236/0.4503, allocations: 117.8 kB / 1.352 GB, free: 5.117 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.564e-05/0.4503, allocations: 3.984 kB / 1.352 GB, free: 5.113 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002542/0.4505, allocations: 80.72 kB / 1.352 GB, free: 5.023 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.4505, allocations: 0 / 1.352 GB, free: 5.023 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.4505, allocations: 0 / 1.352 GB, free: 5.023 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.4505, allocations: 3.938 kB / 1.352 GB, free: 5.02 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001987/0.4507, allocations: 157.6 kB / 1.353 GB, free: 4.816 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4507, allocations: 0 / 1.353 GB, free: 4.816 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.059e-05/0.4508, allocations: 11.98 kB / 1.353 GB, free: 4.805 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.4508, allocations: 3.938 kB / 1.353 GB, free: 4.801 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.4508, allocations: 0 / 1.353 GB, free: 4.801 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.4508, allocations: 0 / 1.353 GB, free: 4.801 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4508, allocations: 4.031 kB / 1.353 GB, free: 4.797 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002659/0.4511, allocations: 159.5 kB / 1.353 GB, free: 4.625 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.4512, allocations: 81.06 kB / 1.353 GB, free: 4.527 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.4512, allocations: 4 kB / 1.353 GB, free: 4.523 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.837e-05/0.4513, allocations: 8.172 kB / 1.353 GB, free: 4.516 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.071e-05/0.4513, allocations: 8.031 kB / 1.353 GB, free: 4.508 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.4514, allocations: 3.984 kB / 1.353 GB, free: 4.504 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.257e-05/0.4514, allocations: 87.2 kB / 1.353 GB, free: 4.418 MB / 1.045 GB Notification: Performance of sort global known variables: time 5e-08/0.4514, allocations: 0 / 1.353 GB, free: 4.418 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002771/0.4517, allocations: 27.94 kB / 1.353 GB, free: 4.391 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.0008289/0.4525, allocations: 0.7357 MB / 1.354 GB, free: 3.625 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002387/0.4527, allocations: 39.98 kB / 1.354 GB, free: 3.586 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4527, allocations: 0 / 1.354 GB, free: 3.586 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 8.974e-05/0.4528, allocations: 19.92 kB / 1.354 GB, free: 3.566 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002416/0.4531, allocations: 0 / 1.354 GB, free: 3.566 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005144/0.4536, allocations: 158.9 kB / 1.354 GB, free: 3.371 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/0.454, allocations: 0.6769 MB / 1.354 GB, free: 2.668 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.464e-05/0.454, allocations: 4 kB / 1.354 GB, free: 2.664 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.642e-05/0.454, allocations: 11.42 kB / 1.355 GB, free: 2.652 MB / 1.045 GB Notification: Performance of SimCode: time 3.01e-07/0.454, allocations: 0 / 1.355 GB, free: 2.652 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02772/0.4818, allocations: 1.766 MB / 1.356 GB, free: 0.9609 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.061/8.543, allocations: 15.98 kB / 1.356 GB, free: 0.9453 MB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1_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_BesselY1.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselY1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.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: 15.956322584068403]