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.001521/0.001521, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.001995/0.001995, allocations: 217.1 kB / 23.04 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.53/1.53, allocations: 230.6 MB / 256.8 MB, free: 8.062 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.975/2.975, allocations: 476.7 MB / 0.7714 GB, free: 4.336 MB / 0.6231 GB " [Timeout remaining time 176] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselY0",fmuType="cs",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.002076/0.002076, allocations: 62.62 kB / 1.118 GB, free: 40.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3886/0.3907, allocations: 170 MB / 1.284 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.002286/0.393, allocations: 0.6005 MB / 1.285 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0007595/0.3938, allocations: 291.1 kB / 1.285 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.561e-05/0.3938, allocations: 0 / 1.285 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.312e-05/0.3938, allocations: 4 kB / 1.285 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.703e-06/0.3938, allocations: 0 / 1.285 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005954/0.3944, allocations: 99.66 kB / 1.285 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 4.602e-05/0.3944, allocations: 0 / 1.285 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.894e-05/0.3945, allocations: 0 / 1.285 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.466e-05/0.3945, allocations: 4 kB / 1.285 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.463e-05/0.3945, allocations: 4 kB / 1.285 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.324e-06/0.3945, allocations: 0 / 1.285 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002932/0.3948, allocations: 119.8 kB / 1.285 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.456e-06/0.3948, allocations: 0 / 1.285 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.798e-05/0.3948, allocations: 4 kB / 1.285 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.395, allocations: 71.3 kB / 1.285 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 1.178e-05/0.395, allocations: 7.984 kB / 1.285 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3951, allocations: 0 / 1.285 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.3951, allocations: 0 / 1.285 GB, free: 10.52 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.000339/0.3954, allocations: 250.3 kB / 1.286 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.3954, allocations: 8.031 kB / 1.286 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.812e-05/0.3955, allocations: 192 / 1.286 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.179e-05/0.3955, allocations: 34.75 kB / 1.286 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.351e-05/0.3955, allocations: 8.922 kB / 1.286 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.181e-05/0.3956, allocations: 106.5 kB / 1.286 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.3956, allocations: 384 / 1.286 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.482e-06/0.3956, allocations: 384 / 1.286 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.724e-05/0.3957, allocations: 34.02 kB / 1.286 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.3957, allocations: 0 / 1.286 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.3957, allocations: 0 / 1.286 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.3957, allocations: 3.938 kB / 1.286 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.002e-05/0.3958, allocations: 0 / 1.286 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000172/0.3959, allocations: 128.8 kB / 1.286 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.888e-05/0.396, allocations: 14.58 kB / 1.286 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.717e-05/0.396, allocations: 4.859 kB / 1.286 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006614/0.3967, allocations: 72.02 kB / 1.286 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.047e-05/0.3967, allocations: 42.5 kB / 1.286 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.332e-06/0.3967, allocations: 0 / 1.286 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001923/0.3969, allocations: 41.62 kB / 1.286 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.448e-05/0.397, allocations: 51.41 kB / 1.286 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.347e-05/0.397, allocations: 89.86 kB / 1.286 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.397, allocations: 25.7 kB / 1.286 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.349e-05/0.3971, allocations: 80.14 kB / 1.286 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.786e-05/0.3971, allocations: 8.078 kB / 1.286 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.671e-05/0.3972, allocations: 13.72 kB / 1.286 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000182/0.3974, allocations: 318.8 kB / 1.287 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.288e-05/0.3974, allocations: 0 / 1.287 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.111e-05/0.3974, allocations: 4 kB / 1.287 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.25e-05/0.3974, allocations: 8.797 kB / 1.287 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3974, allocations: 0 / 1.287 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.453e-05/0.3975, allocations: 41.75 kB / 1.287 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.3975, allocations: 7.938 kB / 1.287 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.3975, allocations: 4 kB / 1.287 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.3975, allocations: 0 / 1.287 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.995e-05/0.3976, allocations: 4 kB / 1.287 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.3976, allocations: 0 / 1.287 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.186e-05/0.3976, allocations: 0 / 1.287 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.3976, allocations: 0 / 1.287 GB, free: 8.949 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 0.0001013/0.3977, allocations: 105.8 kB / 1.287 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.517e-05/0.3977, allocations: 7.938 kB / 1.287 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/0.3978, allocations: 44.66 kB / 1.287 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.3978, allocations: 4 kB / 1.287 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3979, allocations: 0 / 1.287 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.3979, allocations: 0 / 1.287 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001384/0.398, allocations: 116.8 kB / 1.287 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.398, allocations: 3.984 kB / 1.287 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.685e-05/0.398, allocations: 7.938 kB / 1.287 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.104e-06/0.398, allocations: 3.938 kB / 1.287 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.398, allocations: 0 / 1.287 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.398, allocations: 0 / 1.287 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.398, allocations: 4.031 kB / 1.287 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.658e-05/0.3981, allocations: 57.14 kB / 1.287 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.356e-06/0.3981, allocations: 7.922 kB / 1.287 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.3982, allocations: 3.938 kB / 1.287 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.844e-06/0.3982, allocations: 0 / 1.287 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.373e-05/0.3982, allocations: 0 / 1.287 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.3982, allocations: 0 / 1.287 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.477e-05/0.3982, allocations: 83.31 kB / 1.287 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3982, allocations: 0 / 1.287 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002653/0.3985, allocations: 31.88 kB / 1.287 GB, free: 8.402 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.0006471/0.3991, allocations: 0.6319 MB / 1.288 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.546e-05/0.3992, allocations: 7.938 kB / 1.288 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.3992, allocations: 0 / 1.288 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.488e-06/0.3992, allocations: 4 kB / 1.288 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001553/0.3994, allocations: 4.125 kB / 1.288 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004538/0.3998, allocations: 118.5 kB / 1.288 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/0.4002, allocations: 0.6729 MB / 1.289 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.836e-05/0.4003, allocations: 3.984 kB / 1.289 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.767e-05/0.4003, allocations: 7.438 kB / 1.289 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of SimCode: time 3.6e-07/0.4003, allocations: 0 / 1.289 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02339/0.4237, allocations: 1.519 MB / 1.29 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.71, allocations: 4.562 kB / 1.29 GB, free: 5.477 MB / 0.9825 GB " [Timeout remaining time 287] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --stepSize=0.01196 --timeout=400 --tolerance=1e-06 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.mat","/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: 18.98875890497584]