Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.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.001737/0.001737, allocations: 103.7 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.002041/0.002041, 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.503/1.503, allocations: 230.6 MB / 252.8 MB, free: 8.996 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.782/2.782, allocations: 476.7 MB / 0.7672 GB, free: 5.23 MB / 0.6231 GB " [Timeout remaining time 177] 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.Functions.Examples.BesselY1,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY1,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_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.002197/0.002197, allocations: 71.91 kB / 1.112 GB, free: 1.496 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8795/0.8817, allocations: 169.9 MB / 1.278 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY1): time 0.001942/0.8836, allocations: 0.5822 MB / 1.279 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0006639/0.8843, allocations: 320.8 kB / 1.279 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.241e-05/0.8843, allocations: 0 / 1.279 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.703e-05/0.8843, allocations: 3.938 kB / 1.279 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.252e-06/0.8843, allocations: 0 / 1.279 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004714/0.8848, allocations: 95.72 kB / 1.279 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 3.684e-05/0.8848, allocations: 4 kB / 1.279 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.15e-05/0.8849, allocations: 0 / 1.279 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.216e-05/0.8849, allocations: 0 / 1.279 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 1.905e-05/0.8849, allocations: 4 kB / 1.279 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.833e-06/0.8849, allocations: 0 / 1.279 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002716/0.8852, allocations: 143.7 kB / 1.279 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.444e-06/0.8852, allocations: 0 / 1.279 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.423e-05/0.8852, allocations: 0 / 1.279 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001653/0.8854, allocations: 73.64 kB / 1.279 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.8854, allocations: 0 / 1.279 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.392e-06/0.8854, allocations: 3.938 kB / 1.279 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.8854, allocations: 0 / 1.279 GB, free: 12.17 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003524/0.8857, allocations: 323.5 kB / 1.28 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.8858, allocations: 16.03 kB / 1.28 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.042e-05/0.8858, allocations: 34.69 kB / 1.28 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.02e-05/0.8859, allocations: 0.9375 kB / 1.28 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.886, allocations: 164.4 kB / 1.28 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.886, allocations: 384 / 1.28 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.132e-06/0.886, allocations: 384 / 1.28 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.346e-05/0.8861, allocations: 30.27 kB / 1.28 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.8861, allocations: 3.938 kB / 1.28 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.014e-06/0.8861, allocations: 0 / 1.28 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.8861, allocations: 3.984 kB / 1.28 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.716e-05/0.8861, allocations: 4 kB / 1.28 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001633/0.8863, allocations: 145.7 kB / 1.28 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.503e-05/0.8863, allocations: 22.52 kB / 1.28 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.819e-05/0.8863, allocations: 4.859 kB / 1.28 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008612/0.8872, allocations: 473.5 kB / 1.281 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.8872, allocations: 34.56 kB / 1.281 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.8872, allocations: 0 / 1.281 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001392/0.8874, allocations: 33.64 kB / 1.281 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/0.8874, allocations: 59.47 kB / 1.281 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.895e-05/0.8875, allocations: 93.86 kB / 1.281 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.8875, allocations: 25.7 kB / 1.281 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.921e-05/0.8875, allocations: 80.14 kB / 1.281 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.906e-05/0.8876, allocations: 7.891 kB / 1.281 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.79e-05/0.8876, allocations: 9.719 kB / 1.281 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.8877, allocations: 322.8 kB / 1.281 GB, free: 10 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.257e-06/0.8877, allocations: 0 / 1.281 GB, free: 10 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.23e-06/0.8877, allocations: 0 / 1.281 GB, free: 10 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.572e-05/0.8878, allocations: 12.92 kB / 1.281 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.8878, allocations: 0 / 1.281 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.944e-05/0.8878, allocations: 29.7 kB / 1.281 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.8878, allocations: 7.938 kB / 1.281 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.8878, allocations: 11.88 kB / 1.281 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.8879, allocations: 4 kB / 1.281 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.734e-05/0.8879, allocations: 0 / 1.281 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.8879, allocations: 3.938 kB / 1.281 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.149e-05/0.8879, allocations: 3.984 kB / 1.281 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.8879, allocations: 4.031 kB / 1.281 GB, free: 9.914 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 (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.356e-05/0.888, allocations: 113.8 kB / 1.281 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.851e-06/0.888, allocations: 0 / 1.281 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.831e-05/0.8881, allocations: 36.77 kB / 1.282 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.8881, allocations: 0 / 1.282 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.8881, allocations: 0 / 1.282 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.859e-06/0.8881, allocations: 7.969 kB / 1.282 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001096/0.8882, allocations: 145.7 kB / 1.282 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.8882, allocations: 4.031 kB / 1.282 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.099e-05/0.8882, allocations: 0 / 1.282 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.8882, allocations: 3.938 kB / 1.282 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.8882, allocations: 3.938 kB / 1.282 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.8882, allocations: 0 / 1.282 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.8882, allocations: 4 kB / 1.282 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.965e-05/0.8883, allocations: 57.12 kB / 1.282 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.313e-05/0.8883, allocations: 77.11 kB / 1.282 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/0.8883, allocations: 7.969 kB / 1.282 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.164e-06/0.8884, allocations: 0 / 1.282 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.297e-06/0.8884, allocations: 4 kB / 1.282 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/0.8884, allocations: 0 / 1.282 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.367e-05/0.8884, allocations: 75.28 kB / 1.282 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6.1e-08/0.8884, allocations: 0 / 1.282 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002292/0.8886, allocations: 31.92 kB / 1.282 GB, free: 9.246 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 (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.0005475/0.8892, allocations: 0.6402 MB / 1.283 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 6.19e-05/0.8892, allocations: 4.031 kB / 1.283 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.8892, allocations: 4 kB / 1.283 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.721e-06/0.8893, allocations: 0 / 1.283 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001273/0.8894, allocations: 3.938 kB / 1.283 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003313/0.8897, allocations: 138.2 kB / 1.283 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.89, allocations: 0.6729 MB / 1.283 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.074e-05/0.89, allocations: 0 / 1.283 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.745e-05/0.8901, allocations: 7.438 kB / 1.283 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.8901, allocations: 4.125 kB / 1.283 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02393/0.914, allocations: 1.421 MB / 1.285 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.84/8.754, allocations: 9.188 kB / 1.285 GB, free: 6.336 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY1.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY1_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_Functions_Examples_BesselY1.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_BesselY1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.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: 14.931617052992806]