Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001646/0.001646, 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.002385/0.002385, allocations: 215.5 kB / 22.25 MB, free: 5.074 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.506/1.506, allocations: 230.6 MB / 256 MB, free: 7.988 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.791/2.791, allocations: 476.7 MB / 0.7707 GB, free: 4.223 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.BesselY0,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="Buildings_11_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.002034/0.002034, allocations: 69.55 kB / 1.117 GB, free: 40.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.3475, allocations: 169.9 MB / 1.283 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.001843/0.3494, allocations: 0.6032 MB / 1.284 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000721/0.3501, allocations: 287.2 kB / 1.284 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.293e-05/0.3501, allocations: 0 / 1.284 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.794e-05/0.3501, allocations: 0 / 1.284 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.122e-06/0.3501, allocations: 3.938 kB / 1.284 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004634/0.3506, allocations: 95.72 kB / 1.284 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 3.93e-05/0.3506, allocations: 4 kB / 1.284 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.078e-05/0.3507, allocations: 0 / 1.284 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.291e-05/0.3507, allocations: 0 / 1.284 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.265e-05/0.3507, allocations: 3.984 kB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.372e-06/0.3507, allocations: 0 / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000255/0.351, allocations: 123.8 kB / 1.284 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.873e-06/0.351, allocations: 7.938 kB / 1.284 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.734e-05/0.351, allocations: 3.984 kB / 1.285 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001599/0.3512, allocations: 71.34 kB / 1.285 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3512, allocations: 0 / 1.285 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.894e-06/0.3512, allocations: 0 / 1.285 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.3512, allocations: 0 / 1.285 GB, free: 10.48 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.0003159/0.3515, allocations: 249.1 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.3515, allocations: 12.03 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.582e-05/0.3516, allocations: 38.73 kB / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.054e-05/0.3516, allocations: 0.9375 kB / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.652e-05/0.3517, allocations: 106.5 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.3517, allocations: 384 / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.3517, allocations: 4.375 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.016e-05/0.3518, allocations: 30.2 kB / 1.285 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.3518, allocations: 3.938 kB / 1.285 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.192e-06/0.3518, allocations: 0 / 1.285 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.3518, allocations: 0 / 1.285 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.959e-05/0.3518, allocations: 4 kB / 1.285 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001379/0.352, allocations: 124.8 kB / 1.285 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.462e-05/0.352, allocations: 14.67 kB / 1.285 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.481e-05/0.352, allocations: 12.8 kB / 1.285 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005686/0.3526, allocations: 71.92 kB / 1.285 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.3526, allocations: 38.5 kB / 1.285 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.3526, allocations: 0 / 1.285 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001256/0.3527, allocations: 37.62 kB / 1.285 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.3528, allocations: 51.41 kB / 1.285 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.418e-05/0.3528, allocations: 89.86 kB / 1.285 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.3528, allocations: 29.7 kB / 1.285 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.285e-05/0.3529, allocations: 84.14 kB / 1.286 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.418e-05/0.3529, allocations: 4.078 kB / 1.286 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.517e-05/0.3529, allocations: 13.72 kB / 1.286 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.3531, allocations: 310.8 kB / 1.286 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.078e-05/0.3531, allocations: 4 kB / 1.286 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.648e-06/0.3531, allocations: 0 / 1.286 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.324e-05/0.3531, allocations: 16.78 kB / 1.286 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.3531, allocations: 3.938 kB / 1.286 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.33e-05/0.3532, allocations: 33.8 kB / 1.286 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.3532, allocations: 10.5 kB / 1.286 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.319e-06/0.3532, allocations: 3.938 kB / 1.286 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.3532, allocations: 0 / 1.286 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.604e-05/0.3532, allocations: 4 kB / 1.286 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.3532, allocations: 0 / 1.286 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.047e-06/0.3532, allocations: 0 / 1.286 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-06/0.3532, allocations: 0 / 1.286 GB, free: 8.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 6.868e-05/0.3533, allocations: 109.8 kB / 1.286 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.925e-06/0.3533, allocations: 3.984 kB / 1.286 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.645e-05/0.3534, allocations: 48.58 kB / 1.286 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-06/0.3534, allocations: 0 / 1.286 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3534, allocations: 0 / 1.286 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.3534, allocations: 0 / 1.286 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.991e-05/0.3535, allocations: 116.8 kB / 1.286 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.3535, allocations: 8 kB / 1.286 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.054e-05/0.3535, allocations: 0 / 1.286 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.3535, allocations: 0 / 1.286 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.3535, allocations: 3.938 kB / 1.286 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.3535, allocations: 0 / 1.286 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.3535, allocations: 4.031 kB / 1.286 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.863e-05/0.3536, allocations: 65.06 kB / 1.286 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.767e-06/0.3536, allocations: 0 / 1.286 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.036e-05/0.3536, allocations: 3.938 kB / 1.286 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.462e-06/0.3536, allocations: 0 / 1.286 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.067e-06/0.3536, allocations: 4 kB / 1.286 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.3536, allocations: 3.938 kB / 1.286 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.127e-05/0.3537, allocations: 79.31 kB / 1.286 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3537, allocations: 0 / 1.286 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002138/0.3539, allocations: 23.94 kB / 1.286 GB, free: 8.375 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.000506/0.3544, allocations: 0.6396 MB / 1.287 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 6.65e-05/0.3544, allocations: 3.938 kB / 1.287 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/0.3544, allocations: 4 kB / 1.287 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.855e-06/0.3545, allocations: 7.938 kB / 1.287 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000122/0.3546, allocations: 4.109 kB / 1.287 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002935/0.3549, allocations: 114.5 kB / 1.287 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.3551, allocations: 0.6768 MB / 1.288 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.886e-06/0.3552, allocations: 0 / 1.288 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.821e-05/0.3552, allocations: 7.438 kB / 1.288 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of SimCode: time 3.3e-07/0.3552, allocations: 0 / 1.288 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02791/0.3831, allocations: 1.491 MB / 1.289 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/10.92, allocations: 4.406 kB / 1.289 GB, free: 5.457 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Utilities_Math_Functions_Examples_BesselY0.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_BesselY0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 17.837342441000146]