Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001351/0.001351, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001578/0.001578, allocations: 215 kB / 22.25 MB, free: 5.262 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.604/1.604, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.458/3.458, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="Buildings_latest_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.002155/0.002155, allocations: 67.41 kB / 1.186 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4563/0.4585, allocations: 181.9 MB / 1.363 GB, free: 14.08 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.002083/0.4605, allocations: 0.6016 MB / 1.364 GB, free: 13.48 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00072/0.4613, allocations: 255.5 kB / 1.364 GB, free: 13.23 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.012e-05/0.4613, allocations: 0 / 1.364 GB, free: 13.23 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.404e-05/0.4613, allocations: 0 / 1.364 GB, free: 13.23 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.771e-06/0.4613, allocations: 0 / 1.364 GB, free: 13.23 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004981/0.4618, allocations: 95.72 kB / 1.364 GB, free: 13.14 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 4.155e-05/0.4618, allocations: 3.938 kB / 1.364 GB, free: 13.13 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.496e-05/0.4619, allocations: 3.984 kB / 1.364 GB, free: 13.13 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.295e-05/0.4619, allocations: 0 / 1.364 GB, free: 13.13 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 2.5e-05/0.4619, allocations: 4 kB / 1.364 GB, free: 13.12 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.494e-06/0.4619, allocations: 0 / 1.364 GB, free: 13.12 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002807/0.4622, allocations: 127.8 kB / 1.364 GB, free: 13 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.168e-05/0.4622, allocations: 0 / 1.364 GB, free: 13 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.745e-05/0.4622, allocations: 0 / 1.364 GB, free: 13 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001795/0.4624, allocations: 68.11 kB / 1.365 GB, free: 12.93 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.4624, allocations: 0 / 1.365 GB, free: 12.93 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4624, allocations: 0 / 1.365 GB, free: 12.93 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.4624, allocations: 4 kB / 1.365 GB, free: 12.93 MB / 1.061 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.0003386/0.4628, allocations: 246.3 kB / 1.365 GB, free: 12.66 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.4628, allocations: 12.02 kB / 1.365 GB, free: 12.64 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.177e-05/0.4629, allocations: 30.75 kB / 1.365 GB, free: 12.61 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.214e-05/0.4629, allocations: 0.9375 kB / 1.365 GB, free: 12.61 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.256e-05/0.463, allocations: 110.5 kB / 1.365 GB, free: 12.47 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.463, allocations: 384 / 1.365 GB, free: 12.47 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.642e-06/0.463, allocations: 384 / 1.365 GB, free: 12.47 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.4631, allocations: 42.14 kB / 1.365 GB, free: 12.43 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.4631, allocations: 3.938 kB / 1.365 GB, free: 12.42 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.103e-06/0.4631, allocations: 0 / 1.365 GB, free: 12.42 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.4631, allocations: 0 / 1.365 GB, free: 12.42 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.998e-05/0.4631, allocations: 3.938 kB / 1.365 GB, free: 12.42 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001579/0.4633, allocations: 120.8 kB / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5e-05/0.4634, allocations: 18.58 kB / 1.365 GB, free: 12.23 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.106e-05/0.4634, allocations: 8.859 kB / 1.365 GB, free: 12.22 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005971/0.464, allocations: 79.95 kB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.464, allocations: 30.56 kB / 1.365 GB, free: 12.1 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.464, allocations: 0 / 1.365 GB, free: 12.1 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001567/0.4642, allocations: 37.62 kB / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.4642, allocations: 55.53 kB / 1.365 GB, free: 11.99 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.012e-05/0.4643, allocations: 93.86 kB / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.4643, allocations: 25.7 kB / 1.365 GB, free: 11.86 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.304e-05/0.4643, allocations: 80.14 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.967e-05/0.4643, allocations: 0 / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.762e-05/0.4644, allocations: 13.72 kB / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.4645, allocations: 314.8 kB / 1.366 GB, free: 11.44 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.367e-06/0.4645, allocations: 0 / 1.366 GB, free: 11.44 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.254e-06/0.4645, allocations: 3.938 kB / 1.366 GB, free: 11.44 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.759e-05/0.4646, allocations: 12.84 kB / 1.366 GB, free: 11.42 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.4646, allocations: 8.062 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.958e-05/0.4646, allocations: 29.7 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.4646, allocations: 8 kB / 1.366 GB, free: 11.37 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.4646, allocations: 7.922 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.4647, allocations: 0 / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.019e-05/0.4647, allocations: 0 / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.4647, allocations: 0 / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.668e-06/0.4647, allocations: 0 / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.86e-06/0.4647, allocations: 4 kB / 1.366 GB, free: 11.36 MB / 1.061 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 8.376e-05/0.4648, allocations: 109.8 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.446e-06/0.4648, allocations: 8.016 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.287e-05/0.4649, allocations: 40.58 kB / 1.366 GB, free: 11.19 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.4649, allocations: 0 / 1.366 GB, free: 11.19 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.4649, allocations: 4 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.4649, allocations: 3.938 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.465, allocations: 120.8 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.465, allocations: 0 / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.397e-05/0.465, allocations: 4 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.465, allocations: 0 / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-06/0.4651, allocations: 3.938 kB / 1.366 GB, free: 11.01 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.4651, allocations: 4.031 kB / 1.366 GB, free: 11.01 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.4651, allocations: 0 / 1.366 GB, free: 11.01 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.243e-05/0.4651, allocations: 61.06 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.586e-06/0.4651, allocations: 0 / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.4652, allocations: 11.88 kB / 1.366 GB, free: 10.92 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.292e-06/0.4652, allocations: 0 / 1.366 GB, free: 10.92 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.117e-05/0.4652, allocations: 0 / 1.366 GB, free: 10.92 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.4652, allocations: 4 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.726e-05/0.4652, allocations: 75.28 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of sort global known variables: time 5e-08/0.4652, allocations: 0 / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002164/0.4654, allocations: 23.94 kB / 1.366 GB, free: 10.82 MB / 1.061 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.0005888/0.466, allocations: 0.6396 MB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.74e-05/0.4661, allocations: 7.969 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.4661, allocations: 4 kB / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.431e-06/0.4661, allocations: 0 / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001367/0.4662, allocations: 3.984 kB / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003586/0.4666, allocations: 114.5 kB / 1.367 GB, free: 9.977 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.449e-05/0.4667, allocations: 59.34 kB / 1.367 GB, free: 9.898 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.325e-05/0.4667, allocations: 4 kB / 1.367 GB, free: 9.895 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.093e-05/0.4667, allocations: 11.44 kB / 1.367 GB, free: 9.883 MB / 1.061 GB Notification: Performance of SimCode: time 2.9e-07/0.4667, allocations: 0 / 1.367 GB, free: 9.883 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02866/0.4953, allocations: 1.891 MB / 1.369 GB, free: 8.117 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.64, allocations: 7.828 kB / 1.369 GB, free: 8.113 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.csv --start-time 0.1 --stop-time 30 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01196 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselY0.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselY0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 19.134562102612108]