Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00156/0.00156, allocations: 113.5 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.002282/0.002282, allocations: 212.9 kB / 23.04 MB, free: 5.082 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.581/1.581, allocations: 230.6 MB / 256.8 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.302/3.302, allocations: 0.49 GB / 0.7959 GB, free: 33.43 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Utilities_Math_Functions_Examples_BesselY0",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="Buildings_12_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.002073/0.002073, allocations: 69.62 kB / 1.155 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4231/0.4251, allocations: 176.1 MB / 1.327 GB, free: 1.902 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.002337/0.4275, allocations: 0.5852 MB / 1.327 GB, free: 1.324 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0006956/0.4282, allocations: 287.4 kB / 1.328 GB, free: 1.043 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.387e-05/0.4282, allocations: 0 / 1.328 GB, free: 1.043 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.433e-05/0.4282, allocations: 0 / 1.328 GB, free: 1.043 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.963e-06/0.4282, allocations: 4 kB / 1.328 GB, free: 1.039 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005084/0.4287, allocations: 101 kB / 1.328 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 4.226e-05/0.4288, allocations: 0 / 1.328 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.343e-05/0.4288, allocations: 3.938 kB / 1.328 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.712e-05/0.4288, allocations: 3.984 kB / 1.328 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 2.116e-05/0.4288, allocations: 0 / 1.328 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 7.104e-06/0.4288, allocations: 0 / 1.328 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002862/0.4291, allocations: 123.8 kB / 1.328 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.37e-05/0.4291, allocations: 3.984 kB / 1.328 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.047e-05/0.4292, allocations: 0 / 1.328 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001677/0.4293, allocations: 72 kB / 1.328 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.4293, allocations: 4 kB / 1.328 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.272e-06/0.4293, allocations: 0 / 1.328 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.4293, allocations: 0 / 1.328 GB, free: 0.7344 MB / 1.014 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.0003347/0.4297, allocations: 254.3 kB / 1.328 GB, free: 464 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.4297, allocations: 8.031 kB / 1.328 GB, free: 456 kB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.253e-05/0.4297, allocations: 4.188 kB / 1.328 GB, free: 452 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.937e-05/0.4298, allocations: 30.75 kB / 1.328 GB, free: 412 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.161e-05/0.4298, allocations: 4.875 kB / 1.328 GB, free: 408 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.818e-05/0.4299, allocations: 106.5 kB / 1.328 GB, free: 276 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-06/0.4299, allocations: 4.375 kB / 1.328 GB, free: 272 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.143e-06/0.4299, allocations: 384 / 1.328 GB, free: 272 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.43, allocations: 34 kB / 1.328 GB, free: 232 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.43, allocations: 0 / 1.328 GB, free: 232 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-06/0.43, allocations: 4 kB / 1.328 GB, free: 228 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.43, allocations: 0 / 1.328 GB, free: 228 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.213e-05/0.43, allocations: 3.938 kB / 1.328 GB, free: 224 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001562/0.4302, allocations: 116.8 kB / 1.328 GB, free: 64 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 4.474e-05/0.4302, allocations: 22.61 kB / 1.328 GB, free: 32 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.84e-05/0.4303, allocations: 4.859 kB / 1.328 GB, free: 24 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006193/0.4309, allocations: 79.97 kB / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.617e-05/0.4309, allocations: 38.5 kB / 1.329 GB, free: 15.9 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.4309, allocations: 0 / 1.329 GB, free: 15.9 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0001519/0.4311, allocations: 37.64 kB / 1.329 GB, free: 15.86 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/0.4311, allocations: 55.41 kB / 1.329 GB, free: 15.79 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.984e-05/0.4312, allocations: 89.86 kB / 1.329 GB, free: 15.69 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.4312, allocations: 25.7 kB / 1.329 GB, free: 15.66 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.871e-05/0.4312, allocations: 84.12 kB / 1.329 GB, free: 15.57 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.44e-05/0.4313, allocations: 3.953 kB / 1.329 GB, free: 15.57 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.084e-05/0.4313, allocations: 17.84 kB / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.4315, allocations: 310.8 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.858e-06/0.4315, allocations: 0 / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.019e-06/0.4315, allocations: 3.938 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.202e-05/0.4315, allocations: 16.86 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4315, allocations: 0 / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.9e-05/0.4316, allocations: 33.64 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.4316, allocations: 15.92 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.4316, allocations: 4.094 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.4316, allocations: 0 / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.296e-05/0.4317, allocations: 0 / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.4317, allocations: 0 / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.909e-06/0.4317, allocations: 0 / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.4317, allocations: 4 kB / 1.329 GB, free: 15.15 MB / 1.029 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.605e-05/0.4318, allocations: 106.4 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.877e-06/0.4318, allocations: 3.938 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000106/0.4319, allocations: 48.62 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.4319, allocations: 0 / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.4319, allocations: 0 / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.4319, allocations: 0 / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001413/0.432, allocations: 116.8 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.432, allocations: 3.938 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.053e-05/0.432, allocations: 0 / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.4321, allocations: 3.938 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.4321, allocations: 7.984 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.4321, allocations: 3.984 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.4321, allocations: 0 / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.871e-05/0.4322, allocations: 57.17 kB / 1.33 GB, free: 14.72 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.084e-06/0.4322, allocations: 4 kB / 1.33 GB, free: 14.72 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.4322, allocations: 3.938 kB / 1.33 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.706e-06/0.4322, allocations: 3.984 kB / 1.33 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.152e-05/0.4322, allocations: 7.922 kB / 1.33 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-06/0.4322, allocations: 0 / 1.33 GB, free: 14.7 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.402e-05/0.4323, allocations: 75.28 kB / 1.33 GB, free: 14.63 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4323, allocations: 4.031 kB / 1.33 GB, free: 14.62 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002304/0.4325, allocations: 23.94 kB / 1.33 GB, free: 14.6 MB / 1.029 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.0006143/0.4331, allocations: 0.6358 MB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.598e-05/0.4332, allocations: 11.94 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4332, allocations: 3.938 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.942e-06/0.4332, allocations: 0 / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001429/0.4333, allocations: 4 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003662/0.4337, allocations: 122.7 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.434, allocations: 0.669 MB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.685e-05/0.4341, allocations: 8 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.999e-05/0.4341, allocations: 7.438 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of SimCode: time 3.3e-07/0.4341, allocations: 0 / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02248/0.4566, allocations: 1.524 MB / 1.333 GB, free: 11.66 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.55, allocations: 8.5 kB / 1.333 GB, free: 11.66 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Functions_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --stepSize=0.01196 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Functions_Examples_BesselY0.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_BesselY0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.814662121003494]