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.001534/0.001534, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001948/0.001948, allocations: 217.6 kB / 22.25 MB, free: 5.125 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.583/1.583, allocations: 230.6 MB / 256 MB, free: 7.992 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.312/3.312, allocations: 0.49 GB / 0.7951 GB, free: 33.38 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.002926/0.002926, allocations: 67.47 kB / 1.154 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4108/0.4137, allocations: 176.1 MB / 1.326 GB, free: 1.926 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.001879/0.4156, allocations: 0.6085 MB / 1.327 GB, free: 1.324 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0006374/0.4162, allocations: 291.5 kB / 1.327 GB, free: 1.039 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.391e-05/0.4163, allocations: 0 / 1.327 GB, free: 1.039 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.542e-05/0.4163, allocations: 0 / 1.327 GB, free: 1.039 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.833e-06/0.4163, allocations: 3.938 kB / 1.327 GB, free: 1.035 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004953/0.4168, allocations: 95.72 kB / 1.327 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 3.788e-05/0.4168, allocations: 0 / 1.327 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.685e-05/0.4168, allocations: 0 / 1.327 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.908e-05/0.4169, allocations: 4 kB / 1.327 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 1.894e-05/0.4169, allocations: 0 / 1.327 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.322e-06/0.4169, allocations: 0 / 1.327 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002594/0.4171, allocations: 123.8 kB / 1.327 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.923e-06/0.4172, allocations: 7.938 kB / 1.327 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.498e-05/0.4172, allocations: 0 / 1.327 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001574/0.4173, allocations: 72.05 kB / 1.327 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.4173, allocations: 0 / 1.327 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4173, allocations: 4 kB / 1.327 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.4173, allocations: 0 / 1.327 GB, free: 0.7344 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.0003288/0.4177, allocations: 246.3 kB / 1.327 GB, free: 472 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.4177, allocations: 8.031 kB / 1.327 GB, free: 464 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.772e-05/0.4177, allocations: 34.73 kB / 1.327 GB, free: 420 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.474e-05/0.4178, allocations: 0.9375 kB / 1.327 GB, free: 420 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.438e-05/0.4179, allocations: 110.5 kB / 1.327 GB, free: 284 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.4179, allocations: 4.375 kB / 1.327 GB, free: 280 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.682e-06/0.4179, allocations: 384 / 1.327 GB, free: 280 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.323e-05/0.418, allocations: 34.2 kB / 1.328 GB, free: 240 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.418, allocations: 3.938 kB / 1.328 GB, free: 236 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.994e-06/0.418, allocations: 0 / 1.328 GB, free: 236 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.418, allocations: 0 / 1.328 GB, free: 236 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.775e-05/0.418, allocations: 3.938 kB / 1.328 GB, free: 232 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001472/0.4182, allocations: 128.8 kB / 1.328 GB, free: 60 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 4.252e-05/0.4182, allocations: 18.58 kB / 1.328 GB, free: 32 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.817e-05/0.4182, allocations: 8.844 kB / 1.328 GB, free: 20 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006041/0.4188, allocations: 75.98 kB / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.4188, allocations: 38.5 kB / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.4189, allocations: 0 / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0001332/0.419, allocations: 41.62 kB / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/0.419, allocations: 51.41 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.636e-05/0.4191, allocations: 89.86 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.4191, allocations: 25.7 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.16e-05/0.4191, allocations: 80.14 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.905e-05/0.4191, allocations: 4.078 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-05/0.4192, allocations: 21.72 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.4193, allocations: 310.8 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.877e-06/0.4193, allocations: 0 / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.929e-06/0.4193, allocations: 0 / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.928e-05/0.4194, allocations: 12.8 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.4194, allocations: 0 / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.223e-05/0.4194, allocations: 41.62 kB / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.4194, allocations: 13.97 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.4194, allocations: 3.938 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.4194, allocations: 0 / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.448e-05/0.4195, allocations: 0 / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.4195, allocations: 4 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.079e-05/0.4195, allocations: 4 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.848e-06/0.4195, allocations: 0 / 1.328 GB, free: 15.15 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.428e-05/0.4196, allocations: 106.4 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.466e-06/0.4196, allocations: 3.984 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.739e-05/0.4197, allocations: 44.58 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.4197, allocations: 0 / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.4197, allocations: 0 / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.4197, allocations: 4 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.55e-05/0.4198, allocations: 120.8 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.4198, allocations: 0 / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.116e-05/0.4198, allocations: 0 / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.4198, allocations: 4 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.4198, allocations: 3.938 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.4198, allocations: 0 / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.4198, allocations: 4.031 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.775e-05/0.4198, allocations: 57.06 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.115e-06/0.4199, allocations: 8 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.457e-06/0.4199, allocations: 7.875 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.662e-06/0.4199, allocations: 0 / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.426e-06/0.4199, allocations: 0 / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-06/0.4199, allocations: 0 / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.359e-05/0.4199, allocations: 79.31 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4199, allocations: 0 / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002121/0.4201, allocations: 27.94 kB / 1.329 GB, free: 14.61 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.000532/0.4207, allocations: 0.628 MB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.295e-05/0.4207, allocations: 7.938 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.4207, allocations: 0 / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.289e-06/0.4207, allocations: 0 / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001317/0.4209, allocations: 11.92 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002934/0.4212, allocations: 118.7 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002898/0.4215, allocations: 0.6729 MB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.488e-06/0.4215, allocations: 0 / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.708e-05/0.4215, allocations: 11.44 kB / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.4215, allocations: 0 / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02742/0.4489, allocations: 1.483 MB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/11.08, allocations: 5.469 kB / 1.332 GB, free: 11.7 MB / 1.029 GB " [Timeout remaining time 289] (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: 18.309017072999268]