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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 105.6 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.301/3.301, allocations: 497.2 MB / 0.7811 GB, free: 33.62 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 66.12 kB / 1.134 GB, free: 33.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3985/0.4005, allocations: 173.9 MB / 1.304 GB, free: 1.445 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.00188/0.4024, allocations: 0.5856 MB / 1.305 GB, free: 0.8633 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007236/0.4031, allocations: 295.3 kB / 1.305 GB, free: 0.5742 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.745e-05/0.4031, allocations: 0 / 1.305 GB, free: 0.5742 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.371e-05/0.4031, allocations: 0 / 1.305 GB, free: 0.5742 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.222e-06/0.4031, allocations: 0 / 1.305 GB, free: 0.5742 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004631/0.4036, allocations: 95.72 kB / 1.305 GB, free: 492 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 4.788e-05/0.4036, allocations: 4 kB / 1.305 GB, free: 488 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.805e-05/0.4037, allocations: 4 kB / 1.305 GB, free: 484 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.229e-05/0.4037, allocations: 0 / 1.305 GB, free: 484 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.937e-05/0.4037, allocations: 0 / 1.305 GB, free: 484 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.101e-06/0.4037, allocations: 0 / 1.305 GB, free: 484 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002538/0.404, allocations: 131.7 kB / 1.305 GB, free: 352 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.124e-06/0.404, allocations: 3.938 kB / 1.305 GB, free: 348 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.418e-05/0.404, allocations: 0 / 1.305 GB, free: 348 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001627/0.4042, allocations: 68.11 kB / 1.305 GB, free: 280 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.4042, allocations: 0 / 1.305 GB, free: 280 kB / 0.9981 GB Notification: Performance of FrontEnd: time 1.542e-06/0.4042, allocations: 0 / 1.305 GB, free: 280 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.4042, allocations: 0 / 1.305 GB, free: 280 kB / 0.9981 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.0003919/0.4046, allocations: 327.4 kB / 1.305 GB, free: 15.9 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.4046, allocations: 16.91 kB / 1.305 GB, free: 15.89 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.683e-05/0.4046, allocations: 30.75 kB / 1.306 GB, free: 15.85 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.975e-05/0.4047, allocations: 0.9375 kB / 1.306 GB, free: 15.85 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.4048, allocations: 160.4 kB / 1.306 GB, free: 15.65 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.4048, allocations: 4.312 kB / 1.306 GB, free: 15.65 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.4048, allocations: 4.375 kB / 1.306 GB, free: 15.64 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.474e-05/0.4049, allocations: 30.27 kB / 1.306 GB, free: 15.61 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.4049, allocations: 3.938 kB / 1.306 GB, free: 15.61 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-06/0.4049, allocations: 4 kB / 1.306 GB, free: 15.6 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.4049, allocations: 0 / 1.306 GB, free: 15.6 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.699e-05/0.4049, allocations: 0 / 1.306 GB, free: 15.6 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001627/0.4051, allocations: 153.7 kB / 1.306 GB, free: 15.4 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 4.787e-05/0.4052, allocations: 18.52 kB / 1.306 GB, free: 15.38 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.747e-05/0.4052, allocations: 12.8 kB / 1.306 GB, free: 15.36 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000858/0.406, allocations: 461.5 kB / 1.306 GB, free: 14.82 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.4061, allocations: 30.56 kB / 1.306 GB, free: 14.78 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.4061, allocations: 0 / 1.306 GB, free: 14.78 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0001375/0.4062, allocations: 41.58 kB / 1.306 GB, free: 14.73 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.4062, allocations: 51.53 kB / 1.306 GB, free: 14.67 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.358e-05/0.4063, allocations: 93.86 kB / 1.307 GB, free: 14.57 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.4063, allocations: 25.7 kB / 1.307 GB, free: 14.54 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 3.703e-05/0.4064, allocations: 84.14 kB / 1.307 GB, free: 14.45 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.78e-05/0.4064, allocations: 0 / 1.307 GB, free: 14.45 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.574e-05/0.4064, allocations: 13.66 kB / 1.307 GB, free: 14.43 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001759/0.4066, allocations: 318.8 kB / 1.307 GB, free: 14.11 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.496e-05/0.4066, allocations: 8 kB / 1.307 GB, free: 14.1 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.821e-06/0.4066, allocations: 0 / 1.307 GB, free: 14.1 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.514e-05/0.4066, allocations: 12.92 kB / 1.307 GB, free: 14.09 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4066, allocations: 0 / 1.307 GB, free: 14.09 MB / 1.014 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.404e-05/0.4067, allocations: 33.66 kB / 1.307 GB, free: 14.05 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.4067, allocations: 4 kB / 1.307 GB, free: 14.04 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.4067, allocations: 3.938 kB / 1.307 GB, free: 14.04 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.4067, allocations: 0 / 1.307 GB, free: 14.04 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.66e-05/0.4068, allocations: 7.984 kB / 1.307 GB, free: 14.03 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.4068, allocations: 3.938 kB / 1.307 GB, free: 14.03 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.917e-06/0.4068, allocations: 0 / 1.307 GB, free: 14.03 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.4068, allocations: 4.031 kB / 1.307 GB, free: 14.02 MB / 1.014 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.062e-05/0.4069, allocations: 113.8 kB / 1.307 GB, free: 13.9 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.008e-05/0.4069, allocations: 4 kB / 1.307 GB, free: 13.9 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.293e-05/0.407, allocations: 36.77 kB / 1.307 GB, free: 13.85 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.407, allocations: 3.984 kB / 1.307 GB, free: 13.85 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.407, allocations: 0 / 1.307 GB, free: 13.85 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.407, allocations: 0 / 1.307 GB, free: 13.85 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001265/0.4071, allocations: 145.7 kB / 1.307 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.4071, allocations: 4.031 kB / 1.307 GB, free: 13.65 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.279e-05/0.4071, allocations: 4 kB / 1.307 GB, free: 13.65 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.4071, allocations: 0 / 1.307 GB, free: 13.65 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.4071, allocations: 3.938 kB / 1.307 GB, free: 13.64 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.4071, allocations: 0 / 1.307 GB, free: 13.64 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4071, allocations: 0 / 1.307 GB, free: 13.64 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.946e-05/0.4072, allocations: 65.06 kB / 1.307 GB, free: 13.56 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.59e-05/0.4073, allocations: 77.11 kB / 1.307 GB, free: 13.47 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.4073, allocations: 7.969 kB / 1.307 GB, free: 13.46 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.613e-06/0.4073, allocations: 3.938 kB / 1.307 GB, free: 13.46 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.08e-05/0.4073, allocations: 0 / 1.307 GB, free: 13.46 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.4073, allocations: 7.938 kB / 1.307 GB, free: 13.45 MB / 1.014 GB Notification: Performance of sorting global known variables: time 3.563e-05/0.4074, allocations: 75.28 kB / 1.308 GB, free: 13.38 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.4074, allocations: 0 / 1.308 GB, free: 13.38 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002141/0.4076, allocations: 27.92 kB / 1.308 GB, free: 13.35 MB / 1.014 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.0005762/0.4081, allocations: 0.6396 MB / 1.308 GB, free: 12.68 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 6.957e-05/0.4082, allocations: 8.031 kB / 1.308 GB, free: 12.67 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.4082, allocations: 0 / 1.308 GB, free: 12.67 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 7.835e-06/0.4082, allocations: 4 kB / 1.308 GB, free: 12.66 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001238/0.4083, allocations: 1.562 kB / 1.308 GB, free: 12.66 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003172/0.4087, allocations: 122.5 kB / 1.308 GB, free: 12.5 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/0.409, allocations: 0.669 MB / 1.309 GB, free: 11.81 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.233e-05/0.409, allocations: 4 kB / 1.309 GB, free: 11.8 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.742e-05/0.409, allocations: 11.44 kB / 1.309 GB, free: 11.79 MB / 1.014 GB Notification: Performance of SimCode: time 3.51e-07/0.409, allocations: 4.125 kB / 1.309 GB, free: 11.79 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02823/0.4373, allocations: 1.396 MB / 1.31 GB, free: 10.49 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.075/8.513, allocations: 4.062 kB / 1.31 GB, free: 10.48 MB / 1.014 GB " [Timeout remaining time 291] (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_2/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: 15.670434012077749]