Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001894/0.001894, 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.002213/0.002213, allocations: 215.2 kB / 22.25 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.532/1.532, allocations: 230.6 MB / 256 MB, free: 8.039 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.228/3.228, allocations: 0.49 GB / 0.7951 GB, free: 33.47 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.BesselY1,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY1,fileNamePrefix="Buildings_12_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.002049/0.002049, allocations: 73.58 kB / 1.154 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3854/0.3874, allocations: 176.1 MB / 1.326 GB, free: 1.906 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY1): time 0.002254/0.3897, allocations: 0.5827 MB / 1.327 GB, free: 1.328 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0008267/0.3905, allocations: 303.4 kB / 1.327 GB, free: 1.031 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.151e-05/0.3905, allocations: 0 / 1.327 GB, free: 1.031 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.279e-05/0.3906, allocations: 0 / 1.327 GB, free: 1.031 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.254e-06/0.3906, allocations: 0 / 1.327 GB, free: 1.031 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005876/0.3912, allocations: 99.72 kB / 1.327 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.57e-05/0.3912, allocations: 0 / 1.327 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.848e-05/0.3913, allocations: 0 / 1.327 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.582e-05/0.3913, allocations: 0 / 1.327 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 2.977e-05/0.3913, allocations: 11.92 kB / 1.327 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.069e-05/0.3913, allocations: 4 kB / 1.327 GB, free: 0.918 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003132/0.3916, allocations: 135.7 kB / 1.327 GB, free: 0.7852 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.024e-05/0.3917, allocations: 3.984 kB / 1.327 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.651e-05/0.3917, allocations: 0 / 1.327 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001786/0.3918, allocations: 75.98 kB / 1.327 GB, free: 0.707 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3919, allocations: 0 / 1.327 GB, free: 0.707 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.174e-06/0.3919, allocations: 0 / 1.327 GB, free: 0.707 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.3919, allocations: 0 / 1.327 GB, free: 0.707 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.0003619/0.3922, allocations: 258.3 kB / 1.327 GB, free: 432 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/0.3923, allocations: 12.03 kB / 1.327 GB, free: 420 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.062e-05/0.3923, allocations: 34.75 kB / 1.327 GB, free: 376 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.466e-05/0.3923, allocations: 0.9375 kB / 1.327 GB, free: 376 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.054e-05/0.3924, allocations: 106.5 kB / 1.328 GB, free: 244 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.223e-06/0.3924, allocations: 384 / 1.328 GB, free: 244 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-06/0.3924, allocations: 384 / 1.328 GB, free: 244 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.416e-05/0.3925, allocations: 26.27 kB / 1.328 GB, free: 212 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.3926, allocations: 3.938 kB / 1.328 GB, free: 208 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.3926, allocations: 4 kB / 1.328 GB, free: 204 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.3926, allocations: 0 / 1.328 GB, free: 204 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.382e-05/0.3926, allocations: 11.92 kB / 1.328 GB, free: 192 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001545/0.3927, allocations: 116.8 kB / 1.328 GB, free: 32 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 4.932e-05/0.3928, allocations: 18.61 kB / 1.328 GB, free: 4 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.048e-05/0.3928, allocations: 4.859 kB / 1.328 GB, free: 16 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006895/0.3935, allocations: 87.97 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.3935, allocations: 30.56 kB / 1.328 GB, free: 15.87 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.3935, allocations: 4 kB / 1.328 GB, free: 15.87 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0001669/0.3937, allocations: 45.56 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.3938, allocations: 55.53 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.514e-05/0.3938, allocations: 89.86 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.3938, allocations: 25.7 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.358e-05/0.3939, allocations: 80.14 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.848e-05/0.3939, allocations: 3.953 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.047e-05/0.3939, allocations: 13.72 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.3941, allocations: 310.8 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.718e-06/0.3941, allocations: 0 / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.085e-06/0.3941, allocations: 4 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.631e-05/0.3942, allocations: 16.8 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.3942, allocations: 0 / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.528e-05/0.3942, allocations: 37.62 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.3943, allocations: 9.406 kB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.3943, allocations: 3.938 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.3943, allocations: 3.938 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.669e-05/0.3943, allocations: 0 / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/0.3943, allocations: 0 / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.258e-05/0.3943, allocations: 8.094 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-06/0.3943, allocations: 0 / 1.328 GB, free: 15.11 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 9.037e-05/0.3944, allocations: 106.4 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.556e-06/0.3944, allocations: 3.984 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001094/0.3946, allocations: 44.58 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.3946, allocations: 0 / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.3946, allocations: 4 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3946, allocations: 0 / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001155/0.3947, allocations: 116.8 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3947, allocations: 4.031 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.358e-05/0.3947, allocations: 4 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.3947, allocations: 4 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.3947, allocations: 3.938 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.3947, allocations: 0 / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3947, allocations: 0 / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.059e-05/0.3948, allocations: 57.12 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.256e-06/0.3948, allocations: 4 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.3948, allocations: 7.969 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.653e-06/0.3948, allocations: 0 / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.111e-05/0.3949, allocations: 3.938 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.3949, allocations: 3.984 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.252e-05/0.3949, allocations: 75.28 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3949, allocations: 0 / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000244/0.3951, allocations: 27.94 kB / 1.329 GB, free: 14.57 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.000575/0.3957, allocations: 0.6357 MB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.029e-05/0.3958, allocations: 12.03 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3958, allocations: 7.875 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.247e-06/0.3958, allocations: 7.984 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001326/0.3959, allocations: 0 / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003377/0.3963, allocations: 117.8 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.3966, allocations: 0.6729 MB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.147e-05/0.3966, allocations: 0 / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.89e-05/0.3966, allocations: 11.56 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.3966, allocations: 4 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02711/0.4237, allocations: 1.509 MB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.2, allocations: 5.562 kB / 1.332 GB, free: 11.62 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY1.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Utilities_Math_Functions_Examples_BesselY1.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_BesselY1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.191530838998005]