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.001574/0.001574, allocations: 110.4 kB / 18.94 MB, free: 2.812 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.001744/0.001744, allocations: 218.7 kB / 22.25 MB, free: 5.184 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.507/1.507, allocations: 230.6 MB / 256 MB, free: 8.023 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.8/2.8, allocations: 476.7 MB / 0.7707 GB, free: 4.34 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.002042/0.002042, allocations: 63.88 kB / 1.117 GB, free: 39.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3456, allocations: 170 MB / 1.283 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY1): time 0.001828/0.3474, allocations: 0.5969 MB / 1.284 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0007086/0.3481, allocations: 311 kB / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.385e-05/0.3481, allocations: 0 / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.49e-05/0.3481, allocations: 0 / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.242e-06/0.3481, allocations: 0 / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005384/0.3487, allocations: 99.72 kB / 1.284 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.276e-05/0.3487, allocations: 4 kB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.241e-05/0.3488, allocations: 3.938 kB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.524e-05/0.3488, allocations: 4 kB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.823e-05/0.3488, allocations: 3.984 kB / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.344e-06/0.3488, allocations: 0 / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002795/0.3491, allocations: 123.8 kB / 1.285 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.538e-06/0.3491, allocations: 3.938 kB / 1.285 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.39e-05/0.3491, allocations: 11.98 kB / 1.285 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001706/0.3493, allocations: 71.34 kB / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3493, allocations: 0 / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3493, allocations: 4 kB / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.3493, allocations: 0 / 1.285 GB, free: 10.41 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.0003119/0.3496, allocations: 252.2 kB / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.3497, allocations: 12.03 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.016e-05/0.3497, allocations: 30.75 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.439e-05/0.3498, allocations: 0.9375 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.674e-05/0.3498, allocations: 102.5 kB / 1.285 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.3499, allocations: 4.375 kB / 1.285 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.3499, allocations: 8.359 kB / 1.285 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.477e-05/0.35, allocations: 30.27 kB / 1.285 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.35, allocations: 7.875 kB / 1.285 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.083e-06/0.35, allocations: 0 / 1.285 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.35, allocations: 0 / 1.285 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.91e-05/0.35, allocations: 4 kB / 1.285 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000147/0.3501, allocations: 116.8 kB / 1.285 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.245e-05/0.3502, allocations: 18.67 kB / 1.285 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.71e-05/0.3502, allocations: 8.859 kB / 1.285 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006431/0.3509, allocations: 91.91 kB / 1.285 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.3509, allocations: 34.56 kB / 1.285 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.031e-06/0.3509, allocations: 0 / 1.285 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001346/0.351, allocations: 45.5 kB / 1.285 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.3511, allocations: 55.41 kB / 1.285 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.484e-05/0.3511, allocations: 89.86 kB / 1.285 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.3511, allocations: 25.7 kB / 1.285 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.447e-05/0.3512, allocations: 80.14 kB / 1.286 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.52e-05/0.3512, allocations: 7.891 kB / 1.286 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.249e-05/0.3512, allocations: 13.84 kB / 1.286 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.3514, allocations: 318.8 kB / 1.286 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.009e-05/0.3514, allocations: 0 / 1.286 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.083e-06/0.3514, allocations: 4 kB / 1.286 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.735e-05/0.3514, allocations: 12.8 kB / 1.286 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.3514, allocations: 0 / 1.286 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.169e-05/0.3515, allocations: 37.69 kB / 1.286 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.3515, allocations: 6.5 kB / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.3515, allocations: 12.03 kB / 1.286 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.3515, allocations: 0 / 1.286 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.779e-05/0.3515, allocations: 0 / 1.286 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.3515, allocations: 0 / 1.286 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.516e-06/0.3515, allocations: 0 / 1.286 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.3515, allocations: 0 / 1.286 GB, free: 8.812 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.949e-05/0.3516, allocations: 109.8 kB / 1.286 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.031e-06/0.3516, allocations: 0 / 1.286 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.073e-05/0.3517, allocations: 44.56 kB / 1.286 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-06/0.3517, allocations: 4.031 kB / 1.286 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.3517, allocations: 0 / 1.286 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.3517, allocations: 0 / 1.286 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.024e-05/0.3518, allocations: 120.8 kB / 1.286 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.3518, allocations: 3.984 kB / 1.286 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.041e-05/0.3518, allocations: 0 / 1.286 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.3518, allocations: 0 / 1.286 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.3518, allocations: 3.938 kB / 1.286 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.3518, allocations: 4 kB / 1.286 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3518, allocations: 0 / 1.286 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.537e-05/0.3519, allocations: 57.08 kB / 1.286 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.154e-06/0.3519, allocations: 7.984 kB / 1.286 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.3519, allocations: 7.938 kB / 1.286 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.803e-06/0.3519, allocations: 3.938 kB / 1.286 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.348e-06/0.3519, allocations: 0 / 1.286 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-06/0.3519, allocations: 0 / 1.286 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.288e-05/0.352, allocations: 75.28 kB / 1.286 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.352, allocations: 0 / 1.286 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002197/0.3522, allocations: 31.91 kB / 1.286 GB, free: 8.273 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.000512/0.3527, allocations: 0.6319 MB / 1.287 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.812e-05/0.3528, allocations: 7.938 kB / 1.287 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3528, allocations: 0 / 1.287 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.451e-06/0.3528, allocations: 3.938 kB / 1.287 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000132/0.3529, allocations: 4 kB / 1.287 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000303/0.3532, allocations: 121.3 kB / 1.287 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.3535, allocations: 0.669 MB / 1.288 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.296e-05/0.3535, allocations: 7.984 kB / 1.288 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.611e-05/0.3535, allocations: 7.438 kB / 1.288 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.3535, allocations: 0 / 1.288 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02755/0.3811, allocations: 1.498 MB / 1.289 GB, free: 5.352 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/11.02, allocations: 16.42 kB / 1.289 GB, free: 5.34 MB / 0.9825 GB " [Timeout remaining time 288] (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: 17.917534313999568]