Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001324/0.001324, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.00145/0.00145, allocations: 219.2 kB / 22.26 MB, free: 5.082 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.524/1.524, allocations: 230.6 MB / 256 MB, free: 8.031 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.902/2.902, allocations: 476.8 MB / 0.7707 GB, free: 4.297 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.BesselY1,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY1,fileNamePrefix="Buildings_11_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.002092/0.002092, allocations: 66.25 kB / 1.117 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3864/0.3885, allocations: 170 MB / 1.283 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.002738/0.3912, allocations: 1.465 MB / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0007379/0.3919, allocations: 362.8 kB / 1.285 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.453e-05/0.392, allocations: 0 / 1.285 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.687e-05/0.392, allocations: 0 / 1.285 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.103e-05/0.392, allocations: 7.922 kB / 1.285 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004497/0.3925, allocations: 107.7 kB / 1.285 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.337e-05/0.3925, allocations: 27.88 kB / 1.285 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.726e-05/0.3926, allocations: 7.984 kB / 1.285 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.666e-05/0.3927, allocations: 4 kB / 1.285 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.179e-05/0.3927, allocations: 15.92 kB / 1.285 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.088e-05/0.3927, allocations: 4 kB / 1.285 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002392/0.393, allocations: 127.7 kB / 1.285 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.024e-05/0.393, allocations: 4 kB / 1.285 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.488e-05/0.393, allocations: 11.94 kB / 1.285 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001918/0.3932, allocations: 91.3 kB / 1.286 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/0.3932, allocations: 3.938 kB / 1.286 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3932, allocations: 4 kB / 1.286 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.3932, allocations: 0 / 1.286 GB, free: 9.52 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.0004555/0.3937, allocations: 278.2 kB / 1.286 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.3937, allocations: 12.03 kB / 1.286 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.494e-05/0.3937, allocations: 34.69 kB / 1.286 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.041e-05/0.3937, allocations: 0.9375 kB / 1.286 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.3939, allocations: 114.5 kB / 1.286 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.3939, allocations: 4.375 kB / 1.286 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.3939, allocations: 384 / 1.286 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.394, allocations: 54.23 kB / 1.286 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.3941, allocations: 7.922 kB / 1.286 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-06/0.3941, allocations: 0 / 1.286 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.3941, allocations: 0 / 1.286 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000153/0.3942, allocations: 31.97 kB / 1.286 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000321/0.3945, allocations: 227.9 kB / 1.286 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/0.3947, allocations: 42.5 kB / 1.286 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.015e-05/0.3948, allocations: 16.91 kB / 1.286 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006069/0.3954, allocations: 95.91 kB / 1.286 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.3954, allocations: 30.56 kB / 1.286 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.3954, allocations: 0 / 1.286 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003478/0.3957, allocations: 89.67 kB / 1.287 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.3958, allocations: 51.41 kB / 1.287 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.025e-05/0.3959, allocations: 101.8 kB / 1.287 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.3959, allocations: 25.7 kB / 1.287 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.791e-05/0.3959, allocations: 80.14 kB / 1.287 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.987e-05/0.3959, allocations: 13.73 kB / 1.287 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.959e-05/0.396, allocations: 9.719 kB / 1.287 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.3961, allocations: 318.8 kB / 1.287 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.897e-05/0.3962, allocations: 20.02 kB / 1.287 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.692e-05/0.3963, allocations: 11.98 kB / 1.287 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.3964, allocations: 40.81 kB / 1.287 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/0.3964, allocations: 3.938 kB / 1.287 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001911/0.3966, allocations: 73.67 kB / 1.287 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.3966, allocations: 4 kB / 1.287 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.3966, allocations: 0 / 1.287 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.3966, allocations: 3.984 kB / 1.287 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.703e-05/0.3967, allocations: 11.94 kB / 1.287 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.3967, allocations: 0 / 1.287 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.463e-05/0.3968, allocations: 7.984 kB / 1.287 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.459e-06/0.3968, allocations: 0 / 1.287 GB, free: 7.543 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 7.913e-05/0.3968, allocations: 113.8 kB / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.596e-05/0.3969, allocations: 11.89 kB / 1.287 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002172/0.3971, allocations: 76.91 kB / 1.287 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.3971, allocations: 0 / 1.287 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.3971, allocations: 0 / 1.287 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.3971, allocations: 3.984 kB / 1.287 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001564/0.3972, allocations: 132.7 kB / 1.288 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3972, allocations: 0 / 1.288 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.728e-05/0.3973, allocations: 12.02 kB / 1.288 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.3973, allocations: 0 / 1.288 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.3973, allocations: 0 / 1.288 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3973, allocations: 4 kB / 1.288 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3973, allocations: 0 / 1.288 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002336/0.3976, allocations: 163.5 kB / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.681e-06/0.3976, allocations: 4.031 kB / 1.288 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.117e-05/0.3976, allocations: 0 / 1.288 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.318e-05/0.3976, allocations: 11.92 kB / 1.288 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.001e-05/0.3977, allocations: 0 / 1.288 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.3977, allocations: 4 kB / 1.288 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.588e-05/0.3977, allocations: 79.28 kB / 1.288 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3977, allocations: 0 / 1.288 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000268/0.398, allocations: 35.86 kB / 1.288 GB, free: 6.832 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.0006951/0.3987, allocations: 0.7322 MB / 1.289 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002115/0.3989, allocations: 39.89 kB / 1.289 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.3989, allocations: 0 / 1.289 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.195e-05/0.399, allocations: 19.98 kB / 1.289 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.3992, allocations: 4.125 kB / 1.289 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004412/0.3997, allocations: 147 kB / 1.289 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.4, allocations: 0.6806 MB / 1.289 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.237e-05/0.4, allocations: 4 kB / 1.289 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.565e-05/0.4, allocations: 15.42 kB / 1.29 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of SimCode: time 3.5e-07/0.4, allocations: 0 / 1.29 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02804/0.4281, allocations: 1.886 MB / 1.291 GB, free: 3.34 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/11.12, allocations: 2.656 kB / 1.291 GB, free: 3.34 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BesselY1.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.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_Examples_BesselY1.fmu > Buildings_11_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BesselY1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_BesselY1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 18.07923379500062]