Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.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.001807/0.001807, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.001826/0.001826, allocations: 224.1 kB / 23.05 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.561/1.561, allocations: 230.6 MB / 256.8 MB, free: 7.973 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.856/2.856, allocations: 476.7 MB / 0.7715 GB, free: 4.285 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.Examples.BesselY0,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_BesselY0",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY0,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_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.002065/0.002065, allocations: 65.86 kB / 1.118 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3992/0.4013, allocations: 170 MB / 1.284 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.003193/0.4045, allocations: 1.468 MB / 1.286 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008069/0.4053, allocations: 342.9 kB / 1.286 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.279e-05/0.4053, allocations: 0 / 1.286 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.305e-05/0.4053, allocations: 7.938 kB / 1.286 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.221e-05/0.4054, allocations: 0 / 1.286 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004796/0.4059, allocations: 103.7 kB / 1.286 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.5e-05/0.4059, allocations: 23.92 kB / 1.286 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.955e-05/0.406, allocations: 4 kB / 1.286 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.679e-05/0.4061, allocations: 11.94 kB / 1.286 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.955e-05/0.4061, allocations: 11.97 kB / 1.286 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.707e-06/0.4061, allocations: 3.938 kB / 1.286 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000241/0.4064, allocations: 123.8 kB / 1.286 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.495e-05/0.4064, allocations: 11.92 kB / 1.286 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.976e-05/0.4064, allocations: 15.92 kB / 1.286 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002071/0.4066, allocations: 80.09 kB / 1.286 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.4066, allocations: 0 / 1.286 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.432e-06/0.4066, allocations: 0 / 1.286 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.273e-06/0.4067, allocations: 0 / 1.286 GB, free: 9.551 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005481/0.4072, allocations: 282.1 kB / 1.287 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.4073, allocations: 11.97 kB / 1.287 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.796e-05/0.4073, allocations: 4.188 kB / 1.287 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.744e-05/0.4073, allocations: 38.75 kB / 1.287 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.511e-05/0.4073, allocations: 0.9375 kB / 1.287 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.4075, allocations: 106.5 kB / 1.287 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.4075, allocations: 4.375 kB / 1.287 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.4075, allocations: 384 / 1.287 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.4077, allocations: 53.98 kB / 1.287 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.4077, allocations: 0 / 1.287 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.4077, allocations: 0 / 1.287 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.4077, allocations: 0 / 1.287 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001858/0.4079, allocations: 39.91 kB / 1.287 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003942/0.4083, allocations: 231.9 kB / 1.287 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.4084, allocations: 30.56 kB / 1.287 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.863e-05/0.4085, allocations: 24.91 kB / 1.287 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005652/0.409, allocations: 79.91 kB / 1.287 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.4091, allocations: 30.56 kB / 1.287 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 4.318e-06/0.4091, allocations: 3.984 kB / 1.287 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003726/0.4095, allocations: 89.58 kB / 1.287 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/0.4095, allocations: 51.41 kB / 1.287 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.236e-05/0.4096, allocations: 97.86 kB / 1.287 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.4096, allocations: 29.7 kB / 1.287 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.365e-05/0.4097, allocations: 80.14 kB / 1.288 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.96e-05/0.4097, allocations: 7.938 kB / 1.288 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.505e-05/0.4097, allocations: 17.84 kB / 1.288 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.4098, allocations: 314.8 kB / 1.288 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.208e-05/0.4099, allocations: 11.98 kB / 1.288 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.786e-05/0.41, allocations: 23.97 kB / 1.288 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.4102, allocations: 40.7 kB / 1.288 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.4102, allocations: 4.062 kB / 1.288 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001983/0.4104, allocations: 65.66 kB / 1.288 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.4104, allocations: 4 kB / 1.288 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.4104, allocations: 0 / 1.288 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.4104, allocations: 4 kB / 1.288 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.212e-05/0.4105, allocations: 4 kB / 1.288 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.4105, allocations: 7.922 kB / 1.288 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.592e-05/0.4105, allocations: 11.97 kB / 1.288 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.4105, allocations: 0 / 1.288 GB, free: 7.582 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 (2): * Single equations (assignments): 2 * 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.921e-05/0.4106, allocations: 117.8 kB / 1.288 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.442e-05/0.4106, allocations: 3.953 kB / 1.288 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002354/0.4109, allocations: 76.89 kB / 1.288 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.4109, allocations: 0 / 1.288 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.4109, allocations: 0 / 1.288 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.4109, allocations: 4.031 kB / 1.288 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/0.411, allocations: 128.7 kB / 1.288 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.411, allocations: 4 kB / 1.288 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.092e-05/0.4111, allocations: 11.98 kB / 1.288 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.4111, allocations: 0 / 1.288 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.4111, allocations: 4 kB / 1.288 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.4111, allocations: 0 / 1.288 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4111, allocations: 0 / 1.288 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002509/0.4114, allocations: 169.2 kB / 1.289 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.61e-06/0.4114, allocations: 0 / 1.289 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.4114, allocations: 4 kB / 1.289 GB, free: 7 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.811e-05/0.4115, allocations: 11.98 kB / 1.289 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.4115, allocations: 0 / 1.289 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/0.4115, allocations: 0 / 1.289 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.123e-05/0.4116, allocations: 83.27 kB / 1.289 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4116, allocations: 4.031 kB / 1.289 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002668/0.4118, allocations: 27.94 kB / 1.289 GB, free: 6.875 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 (2): * Single equations (assignments): 2 * 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.0007137/0.4126, allocations: 0.7357 MB / 1.289 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000228/0.4128, allocations: 43.89 kB / 1.289 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4128, allocations: 0 / 1.289 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.464e-05/0.4129, allocations: 20.05 kB / 1.289 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.4131, allocations: 3.938 kB / 1.289 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000475/0.4136, allocations: 155.5 kB / 1.29 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003028/0.4139, allocations: 0.6729 MB / 1.29 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.923e-05/0.4139, allocations: 0 / 1.29 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.496e-05/0.4139, allocations: 19.36 kB / 1.29 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of SimCode: time 3.91e-07/0.4139, allocations: 4.062 kB / 1.29 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02316/0.4371, allocations: 1.887 MB / 1.292 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.77, allocations: 4.562 kB / 1.292 GB, free: 3.383 MB / 0.9825 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.BesselY0_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --stepSize=0.01196 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_BesselY0.fmu > Buildings_11_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_BesselY0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.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.882435892010108]