Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.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.001905/0.001905, allocations: 101.3 kB / 16.45 MB, free: 6.5 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.002751/0.002751, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.573/1.573, allocations: 230.6 MB / 252.8 MB, free: 8.949 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.536/3.536, allocations: 0.49 GB / 0.7916 GB, free: 33.5 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Functions.Examples.BesselY0,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_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.002314/0.002314, allocations: 74.67 kB / 1.149 GB, free: 26.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3923/0.3947, allocations: 176.1 MB / 1.321 GB, free: 3.266 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.001798/0.3965, allocations: 0.5941 MB / 1.321 GB, free: 2.676 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0007/0.3972, allocations: 291.5 kB / 1.322 GB, free: 2.391 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.652e-05/0.3972, allocations: 0 / 1.322 GB, free: 2.391 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.272e-05/0.3972, allocations: 0 / 1.322 GB, free: 2.391 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.592e-06/0.3972, allocations: 3.938 kB / 1.322 GB, free: 2.387 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004672/0.3977, allocations: 91.72 kB / 1.322 GB, free: 2.297 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 4.284e-05/0.3977, allocations: 4 kB / 1.322 GB, free: 2.293 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.13e-05/0.3977, allocations: 0 / 1.322 GB, free: 2.293 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.519e-05/0.3978, allocations: 4 kB / 1.322 GB, free: 2.289 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 1.879e-05/0.3978, allocations: 4 kB / 1.322 GB, free: 2.285 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.071e-06/0.3978, allocations: 0 / 1.322 GB, free: 2.285 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002522/0.398, allocations: 119.8 kB / 1.322 GB, free: 2.168 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.087e-06/0.398, allocations: 3.938 kB / 1.322 GB, free: 2.164 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.49e-05/0.3981, allocations: 0 / 1.322 GB, free: 2.164 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001827/0.3982, allocations: 68.11 kB / 1.322 GB, free: 2.098 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3982, allocations: 0 / 1.322 GB, free: 2.098 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3982, allocations: 3.938 kB / 1.322 GB, free: 2.094 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.3983, allocations: 4 kB / 1.322 GB, free: 2.09 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003839/0.3986, allocations: 331.4 kB / 1.322 GB, free: 1.715 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.3987, allocations: 15.97 kB / 1.322 GB, free: 1.699 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.742e-05/0.3987, allocations: 30.75 kB / 1.322 GB, free: 1.66 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.932e-05/0.3987, allocations: 0.9375 kB / 1.322 GB, free: 1.66 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.3989, allocations: 160.4 kB / 1.323 GB, free: 1.465 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.544e-06/0.3989, allocations: 384 / 1.323 GB, free: 1.465 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-06/0.3989, allocations: 4.375 kB / 1.323 GB, free: 1.461 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.211e-05/0.399, allocations: 30.2 kB / 1.323 GB, free: 1.426 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.399, allocations: 7.938 kB / 1.323 GB, free: 1.418 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.399, allocations: 0 / 1.323 GB, free: 1.418 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.399, allocations: 7.938 kB / 1.323 GB, free: 1.41 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.831e-05/0.3991, allocations: 4 kB / 1.323 GB, free: 1.406 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001683/0.3992, allocations: 149.7 kB / 1.323 GB, free: 1.211 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 4.139e-05/0.3993, allocations: 14.58 kB / 1.323 GB, free: 1.188 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.841e-05/0.3993, allocations: 8.953 kB / 1.323 GB, free: 1.176 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008083/0.4001, allocations: 465.5 kB / 1.323 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.4001, allocations: 34.5 kB / 1.323 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.4001, allocations: 0 / 1.323 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0001321/0.4003, allocations: 33.64 kB / 1.323 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.4003, allocations: 55.41 kB / 1.323 GB, free: 492 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.32e-05/0.4003, allocations: 93.98 kB / 1.323 GB, free: 388 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.4004, allocations: 29.7 kB / 1.323 GB, free: 352 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 3.563e-05/0.4004, allocations: 80.14 kB / 1.323 GB, free: 268 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.13e-05/0.4004, allocations: 3.953 kB / 1.323 GB, free: 264 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.958e-05/0.4005, allocations: 13.7 kB / 1.323 GB, free: 244 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.4006, allocations: 314.8 kB / 1.324 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.011e-05/0.4006, allocations: 0 / 1.324 GB, free: 15.92 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.879e-06/0.4006, allocations: 0 / 1.324 GB, free: 15.92 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.064e-05/0.4007, allocations: 16.86 kB / 1.324 GB, free: 15.9 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4007, allocations: 0 / 1.324 GB, free: 15.9 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.41e-05/0.4007, allocations: 33.7 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.4007, allocations: 4 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.4007, allocations: 11.88 kB / 1.324 GB, free: 15.85 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.4008, allocations: 0 / 1.324 GB, free: 15.85 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.1e-05/0.4008, allocations: 3.984 kB / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.4008, allocations: 0 / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.288e-06/0.4008, allocations: 0 / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.4008, allocations: 4 kB / 1.324 GB, free: 15.84 MB / 1.029 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 (1): * Single equations (assignments): 1 * 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 7.672e-05/0.4009, allocations: 109.9 kB / 1.324 GB, free: 15.72 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.062e-06/0.4009, allocations: 0 / 1.324 GB, free: 15.72 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.753e-05/0.401, allocations: 44.7 kB / 1.324 GB, free: 15.67 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.401, allocations: 3.984 kB / 1.324 GB, free: 15.67 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.401, allocations: 0 / 1.324 GB, free: 15.67 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.401, allocations: 0 / 1.324 GB, free: 15.67 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001127/0.4011, allocations: 145.7 kB / 1.324 GB, free: 15.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-07/0.4011, allocations: 0 / 1.324 GB, free: 15.48 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.04e-05/0.4011, allocations: 0 / 1.324 GB, free: 15.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.4011, allocations: 4.031 kB / 1.324 GB, free: 15.47 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.4011, allocations: 3.938 kB / 1.324 GB, free: 15.47 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.4011, allocations: 4 kB / 1.324 GB, free: 15.46 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4011, allocations: 0 / 1.324 GB, free: 15.46 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.19e-05/0.4012, allocations: 61.06 kB / 1.324 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.691e-05/0.4013, allocations: 85.05 kB / 1.324 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.4013, allocations: 7.922 kB / 1.324 GB, free: 15.28 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.057e-05/0.4013, allocations: 8.031 kB / 1.324 GB, free: 15.27 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.305e-05/0.4013, allocations: 0 / 1.324 GB, free: 15.27 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.4013, allocations: 3.984 kB / 1.324 GB, free: 15.27 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.789e-05/0.4013, allocations: 75.28 kB / 1.324 GB, free: 15.19 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4013, allocations: 0 / 1.324 GB, free: 15.19 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002192/0.4016, allocations: 23.94 kB / 1.324 GB, free: 15.17 MB / 1.029 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 (1): * Single equations (assignments): 1 * 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.0005967/0.4021, allocations: 0.6396 MB / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.366e-05/0.4022, allocations: 3.938 kB / 1.325 GB, free: 14.49 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.4022, allocations: 8.094 kB / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 6.041e-06/0.4022, allocations: 0 / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001368/0.4024, allocations: 4 kB / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003419/0.4027, allocations: 122.4 kB / 1.325 GB, free: 14.32 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.4031, allocations: 0.6729 MB / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.878e-06/0.4031, allocations: 0 / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.666e-05/0.4031, allocations: 7.438 kB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.4031, allocations: 0 / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.026/0.4291, allocations: 1.398 MB / 1.327 GB, free: 12.3 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.988/8.417, allocations: 15.39 kB / 1.327 GB, free: 12.29 MB / 1.029 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Math.Functions.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_12_Buildings_Utilities_Math_Functions_Examples_BesselY0.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_BesselY0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.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: 15.693004756001756]