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.00199/0.00199, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002904/0.002904, allocations: 212.2 kB / 22.24 MB, free: 4.855 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.624/1.624, allocations: 230.7 MB / 256 MB, free: 7.984 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.437/3.437, 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.0021/0.0021, allocations: 64.06 kB / 1.186 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4103/0.4124, allocations: 181.9 MB / 1.363 GB, free: 14.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.001855/0.4143, allocations: 0.5952 MB / 1.364 GB, free: 13.45 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0006949/0.415, allocations: 255.5 kB / 1.364 GB, free: 13.2 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.415e-05/0.415, allocations: 0 / 1.364 GB, free: 13.2 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.283e-05/0.415, allocations: 0 / 1.364 GB, free: 13.2 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.442e-06/0.415, allocations: 0 / 1.364 GB, free: 13.2 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005149/0.4155, allocations: 99.72 kB / 1.364 GB, free: 13.1 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.246e-05/0.4156, allocations: 3.984 kB / 1.364 GB, free: 13.1 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.974e-05/0.4157, allocations: 4 kB / 1.364 GB, free: 13.09 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.445e-05/0.4157, allocations: 3.984 kB / 1.364 GB, free: 13.09 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 2.448e-05/0.4157, allocations: 0 / 1.364 GB, free: 13.09 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.945e-06/0.4157, allocations: 0 / 1.364 GB, free: 13.09 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003038/0.416, allocations: 119.7 kB / 1.364 GB, free: 12.97 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.686e-05/0.416, allocations: 0 / 1.364 GB, free: 12.97 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.8e-05/0.4161, allocations: 7.922 kB / 1.364 GB, free: 12.96 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002144/0.4163, allocations: 72.11 kB / 1.365 GB, free: 12.89 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.4163, allocations: 4 kB / 1.365 GB, free: 12.89 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.075e-06/0.4163, allocations: 0 / 1.365 GB, free: 12.89 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.836e-06/0.4163, allocations: 0 / 1.365 GB, free: 12.89 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.0004439/0.4167, allocations: 254.3 kB / 1.365 GB, free: 12.61 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/0.4168, allocations: 12.03 kB / 1.365 GB, free: 12.6 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.676e-05/0.4168, allocations: 30.75 kB / 1.365 GB, free: 12.56 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.356e-05/0.4169, allocations: 0.9375 kB / 1.365 GB, free: 12.56 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.417, allocations: 102.5 kB / 1.365 GB, free: 12.43 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.417, allocations: 384 / 1.365 GB, free: 12.43 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.417, allocations: 4.375 kB / 1.365 GB, free: 12.43 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.4171, allocations: 30.2 kB / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.4171, allocations: 7.938 kB / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.4172, allocations: 0 / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.4172, allocations: 0 / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.578e-05/0.4172, allocations: 4 kB / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000199/0.4174, allocations: 120.8 kB / 1.365 GB, free: 12.22 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.954e-05/0.4174, allocations: 18.61 kB / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.241e-05/0.4175, allocations: 4.859 kB / 1.365 GB, free: 12.19 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006432/0.4181, allocations: 79.92 kB / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.4181, allocations: 30.56 kB / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 1.183e-06/0.4182, allocations: 0 / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001628/0.4183, allocations: 45.62 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/0.4184, allocations: 51.41 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.264e-05/0.4184, allocations: 89.86 kB / 1.365 GB, free: 11.86 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.4185, allocations: 25.7 kB / 1.365 GB, free: 11.83 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.46e-05/0.4185, allocations: 80.14 kB / 1.365 GB, free: 11.75 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.895e-05/0.4185, allocations: 4.125 kB / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.092e-05/0.4186, allocations: 17.66 kB / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001799/0.4187, allocations: 310.8 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.073e-05/0.4187, allocations: 0 / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.939e-06/0.4188, allocations: 7.938 kB / 1.366 GB, free: 11.4 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.053e-05/0.4188, allocations: 12.84 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.4188, allocations: 4 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.85e-05/0.4189, allocations: 33.7 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.4189, allocations: 4 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.4189, allocations: 8.031 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.4189, allocations: 3.984 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.699e-05/0.4189, allocations: 4 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.4189, allocations: 3.938 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.808e-06/0.419, allocations: 0 / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.419, allocations: 0 / 1.366 GB, free: 11.32 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 9.059e-05/0.419, allocations: 109.8 kB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.085e-06/0.4191, allocations: 4 kB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.623e-05/0.4192, allocations: 44.58 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.4192, allocations: 0 / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.4192, allocations: 4.031 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.4192, allocations: 0 / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001137/0.4193, allocations: 116.8 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.4193, allocations: 0 / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.037e-05/0.4193, allocations: 4 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.4193, allocations: 0 / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.162e-05/0.4193, allocations: 3.938 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4193, allocations: 0 / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4193, allocations: 0 / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.448e-05/0.4194, allocations: 65.06 kB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.047e-06/0.4194, allocations: 4.031 kB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.4194, allocations: 7.938 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.553e-06/0.4194, allocations: 0 / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.181e-05/0.4194, allocations: 0 / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-06/0.4194, allocations: 0 / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.023e-05/0.4195, allocations: 75.28 kB / 1.366 GB, free: 10.81 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.4195, allocations: 0 / 1.366 GB, free: 10.81 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002104/0.4197, allocations: 23.94 kB / 1.366 GB, free: 10.79 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.0006109/0.4203, allocations: 0.6396 MB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.264e-05/0.4204, allocations: 11.94 kB / 1.367 GB, free: 10.1 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4204, allocations: 0 / 1.367 GB, free: 10.1 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.097e-06/0.4204, allocations: 3.984 kB / 1.367 GB, free: 10.1 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001437/0.4205, allocations: 4 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003628/0.4209, allocations: 114.7 kB / 1.367 GB, free: 9.941 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.034e-05/0.421, allocations: 59.34 kB / 1.367 GB, free: 9.863 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.285e-05/0.421, allocations: 3.984 kB / 1.367 GB, free: 9.859 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.388e-05/0.421, allocations: 11.44 kB / 1.367 GB, free: 9.848 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/0.421, allocations: 0 / 1.367 GB, free: 9.848 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0289/0.4499, allocations: 1.894 MB / 1.369 GB, free: 8.078 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.63, allocations: 15.36 kB / 1.369 GB, free: 8.066 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --stepSize=0.01196 --timeout=800 --tolerance=1e-06 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.mat","/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: 18.873300191015005]