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.001797/0.001797, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.002216/0.002216, allocations: 219.8 kB / 23.03 MB, free: 4.945 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.488/1.488, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.365/3.365, allocations: 0.5003 GB / 0.8062 GB, free: 28.36 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="Buildings_latest_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.001991/0.001991, allocations: 66.31 kB / 1.171 GB, free: 19.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3874/0.3894, allocations: 179 MB / 1.345 GB, free: 15.98 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.001871/0.3913, allocations: 0.5922 MB / 1.346 GB, free: 15.39 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0006433/0.3919, allocations: 263.5 kB / 1.346 GB, free: 15.13 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.132e-05/0.3919, allocations: 0 / 1.346 GB, free: 15.13 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.201e-05/0.3919, allocations: 4 kB / 1.346 GB, free: 15.12 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.192e-06/0.3919, allocations: 0 / 1.346 GB, free: 15.12 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004765/0.3924, allocations: 95.67 kB / 1.346 GB, free: 15.03 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 3.618e-05/0.3924, allocations: 7.984 kB / 1.346 GB, free: 15.02 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 3.465e-05/0.3925, allocations: 0 / 1.346 GB, free: 15.02 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 1.114e-05/0.3925, allocations: 0 / 1.346 GB, free: 15.02 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 1.728e-05/0.3925, allocations: 0 / 1.346 GB, free: 15.02 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 9.358e-06/0.3925, allocations: 4 kB / 1.346 GB, free: 15.02 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002585/0.3928, allocations: 119.8 kB / 1.346 GB, free: 14.9 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.291e-05/0.3928, allocations: 3.984 kB / 1.346 GB, free: 14.9 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.045e-05/0.3928, allocations: 4 kB / 1.346 GB, free: 14.89 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.393, allocations: 64.12 kB / 1.346 GB, free: 14.83 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.393, allocations: 0 / 1.346 GB, free: 14.83 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.393e-06/0.393, allocations: 0 / 1.346 GB, free: 14.83 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.393, allocations: 4 kB / 1.346 GB, free: 14.83 MB / 1.045 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.0003276/0.3933, allocations: 258.3 kB / 1.347 GB, free: 14.54 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.3934, allocations: 8.031 kB / 1.347 GB, free: 14.54 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.267e-05/0.3934, allocations: 192 / 1.347 GB, free: 14.54 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.852e-05/0.3934, allocations: 30.75 kB / 1.347 GB, free: 14.5 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.121e-05/0.3934, allocations: 4.938 kB / 1.347 GB, free: 14.49 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.288e-05/0.3935, allocations: 110.5 kB / 1.347 GB, free: 14.36 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.697e-06/0.3935, allocations: 384 / 1.347 GB, free: 14.36 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.072e-06/0.3935, allocations: 384 / 1.347 GB, free: 14.36 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.081e-05/0.3936, allocations: 37.95 kB / 1.347 GB, free: 14.32 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.3936, allocations: 4 kB / 1.347 GB, free: 14.31 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.572e-06/0.3936, allocations: 3.938 kB / 1.347 GB, free: 14.31 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.3936, allocations: 0 / 1.347 GB, free: 14.31 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.741e-05/0.3936, allocations: 0 / 1.347 GB, free: 14.31 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001322/0.3938, allocations: 120.8 kB / 1.347 GB, free: 14.15 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 4.249e-05/0.3938, allocations: 14.58 kB / 1.347 GB, free: 14.12 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.141e-05/0.3938, allocations: 8.953 kB / 1.347 GB, free: 14.11 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006307/0.3945, allocations: 87.83 kB / 1.347 GB, free: 14.03 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.3945, allocations: 34.5 kB / 1.347 GB, free: 13.98 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.3945, allocations: 0 / 1.347 GB, free: 13.98 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0001404/0.3946, allocations: 33.7 kB / 1.347 GB, free: 13.95 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.3947, allocations: 55.41 kB / 1.347 GB, free: 13.88 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.662e-05/0.3947, allocations: 93.84 kB / 1.347 GB, free: 13.78 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.3947, allocations: 25.7 kB / 1.347 GB, free: 13.75 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.884e-05/0.3948, allocations: 80.14 kB / 1.347 GB, free: 13.66 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.3948, allocations: 8.078 kB / 1.347 GB, free: 13.66 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.542e-05/0.3949, allocations: 13.72 kB / 1.347 GB, free: 13.64 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.395, allocations: 310.8 kB / 1.348 GB, free: 13.32 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.163e-05/0.395, allocations: 4 kB / 1.348 GB, free: 13.32 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.934e-06/0.395, allocations: 3.938 kB / 1.348 GB, free: 13.32 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.774e-05/0.395, allocations: 8.859 kB / 1.348 GB, free: 13.3 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.395, allocations: 0 / 1.348 GB, free: 13.3 MB / 1.045 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.988e-05/0.3951, allocations: 33.69 kB / 1.348 GB, free: 13.27 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.3951, allocations: 11.94 kB / 1.348 GB, free: 13.25 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.3951, allocations: 96 / 1.348 GB, free: 13.25 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.3951, allocations: 4 kB / 1.348 GB, free: 13.25 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.794e-05/0.3952, allocations: 0 / 1.348 GB, free: 13.25 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.3952, allocations: 0 / 1.348 GB, free: 13.25 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.116e-05/0.3952, allocations: 8 kB / 1.348 GB, free: 13.24 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.708e-06/0.3952, allocations: 0 / 1.348 GB, free: 13.24 MB / 1.045 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 7.881e-05/0.3953, allocations: 105.8 kB / 1.348 GB, free: 13.13 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.077e-05/0.3953, allocations: 7.938 kB / 1.348 GB, free: 13.12 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.999e-05/0.3954, allocations: 44.56 kB / 1.348 GB, free: 13.07 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.3954, allocations: 4 kB / 1.348 GB, free: 13.06 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3954, allocations: 4.031 kB / 1.348 GB, free: 13.06 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.3954, allocations: 0 / 1.348 GB, free: 13.06 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.871e-05/0.3955, allocations: 112.8 kB / 1.348 GB, free: 12.91 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.3955, allocations: 0 / 1.348 GB, free: 12.91 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.487e-05/0.3955, allocations: 4 kB / 1.348 GB, free: 12.9 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.3955, allocations: 7.922 kB / 1.348 GB, free: 12.89 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.3955, allocations: 0 / 1.348 GB, free: 12.89 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3955, allocations: 0 / 1.348 GB, free: 12.89 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3955, allocations: 0 / 1.348 GB, free: 12.89 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.018e-05/0.3956, allocations: 65.02 kB / 1.348 GB, free: 12.81 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.629e-06/0.3956, allocations: 0 / 1.348 GB, free: 12.81 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.3956, allocations: 7.969 kB / 1.348 GB, free: 12.8 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.338e-06/0.3956, allocations: 3.984 kB / 1.348 GB, free: 12.8 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.142e-05/0.3956, allocations: 4 kB / 1.348 GB, free: 12.8 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-06/0.3956, allocations: 0 / 1.348 GB, free: 12.8 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.186e-05/0.3957, allocations: 75.28 kB / 1.348 GB, free: 12.72 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3957, allocations: 0 / 1.348 GB, free: 12.72 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002341/0.3959, allocations: 27.94 kB / 1.348 GB, free: 12.7 MB / 1.045 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.000537/0.3964, allocations: 0.6358 MB / 1.349 GB, free: 12.03 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 6.544e-05/0.3965, allocations: 7.938 kB / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3965, allocations: 0 / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 6.682e-06/0.3965, allocations: 0 / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001284/0.3966, allocations: 0 / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003351/0.397, allocations: 122.6 kB / 1.349 GB, free: 11.86 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.696e-05/0.397, allocations: 55.36 kB / 1.349 GB, free: 11.79 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.019e-05/0.397, allocations: 0 / 1.349 GB, free: 11.79 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.68e-05/0.397, allocations: 7.438 kB / 1.349 GB, free: 11.78 MB / 1.045 GB Notification: Performance of SimCode: time 2.9e-07/0.397, allocations: 0 / 1.349 GB, free: 11.78 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02257/0.4196, allocations: 1.554 MB / 1.351 GB, free: 10.37 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.68, allocations: 13.16 kB / 1.351 GB, free: 10.36 MB / 1.045 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.837391386041418]