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.001698/0.001698, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002204/0.002204, allocations: 210.2 kB / 22.24 MB, free: 5.262 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.54/1.54, allocations: 230.6 MB / 256 MB, free: 7.781 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 3.05/3.05, allocations: 476 MB / 0.7699 GB, free: 4.723 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.Examples.BesselY0,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY0,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_BesselY0",fmuType="me",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.002344/0.002344, allocations: 69.48 kB / 1.117 GB, free: 41.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4165/0.4189, allocations: 170 MB / 1.283 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.004459/0.4234, allocations: 1.449 MB / 1.284 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001285/0.4246, allocations: 319 kB / 1.284 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.205e-05/0.4247, allocations: 0 / 1.284 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.761e-05/0.4247, allocations: 3.984 kB / 1.284 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.746e-05/0.4248, allocations: 7.938 kB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006735/0.4255, allocations: 95.72 kB / 1.284 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.892e-05/0.4256, allocations: 27.92 kB / 1.284 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.4257, allocations: 4 kB / 1.284 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.277e-05/0.4257, allocations: 11.92 kB / 1.284 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.198e-05/0.4258, allocations: 4 kB / 1.284 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.385e-05/0.4258, allocations: 7.984 kB / 1.284 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003707/0.4262, allocations: 115.8 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.04e-05/0.4262, allocations: 0 / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.278e-05/0.4262, allocations: 11.94 kB / 1.285 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003111/0.4265, allocations: 89.42 kB / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4265, allocations: 0 / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.536e-06/0.4266, allocations: 7.938 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.4266, allocations: 0 / 1.285 GB, free: 10.27 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.0006899/0.4272, allocations: 278.2 kB / 1.285 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.849e-05/0.4273, allocations: 12.03 kB / 1.285 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.947e-05/0.4274, allocations: 30.75 kB / 1.285 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.65e-05/0.4274, allocations: 0.9375 kB / 1.285 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.4276, allocations: 118.5 kB / 1.285 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.4276, allocations: 384 / 1.285 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.4276, allocations: 384 / 1.285 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002706/0.4279, allocations: 54.23 kB / 1.285 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.4279, allocations: 7.875 kB / 1.285 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.4279, allocations: 0 / 1.285 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.4279, allocations: 4 kB / 1.285 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000267/0.4282, allocations: 27.97 kB / 1.285 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004954/0.4287, allocations: 220 kB / 1.285 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002053/0.4289, allocations: 42.56 kB / 1.285 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001655/0.4291, allocations: 32.83 kB / 1.285 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008621/0.4299, allocations: 75.86 kB / 1.286 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.536e-05/0.43, allocations: 30.56 kB / 1.286 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.813e-06/0.43, allocations: 4 kB / 1.286 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.00058/0.4305, allocations: 81.64 kB / 1.286 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.715e-05/0.4306, allocations: 55.34 kB / 1.286 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.4307, allocations: 101.8 kB / 1.286 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.819e-05/0.4308, allocations: 29.7 kB / 1.286 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.385e-05/0.4308, allocations: 80.14 kB / 1.286 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.357e-05/0.4309, allocations: 3.953 kB / 1.286 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-05/0.4309, allocations: 13.72 kB / 1.286 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002104/0.4311, allocations: 314.8 kB / 1.286 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.4313, allocations: 24.09 kB / 1.286 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.4314, allocations: 19.92 kB / 1.286 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002551/0.4316, allocations: 36.83 kB / 1.286 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.4317, allocations: 3.938 kB / 1.286 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003592/0.432, allocations: 65.66 kB / 1.286 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.432, allocations: 8.094 kB / 1.286 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.432, allocations: 0 / 1.286 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.4321, allocations: 0 / 1.286 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.4322, allocations: 11.98 kB / 1.286 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.4322, allocations: 0 / 1.286 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.416e-05/0.4323, allocations: 7.984 kB / 1.286 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.4323, allocations: 0 / 1.286 GB, free: 8.316 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 0.0001415/0.4325, allocations: 117.7 kB / 1.286 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.134e-05/0.4325, allocations: 7.953 kB / 1.286 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003733/0.4329, allocations: 72.91 kB / 1.287 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.4329, allocations: 0 / 1.287 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.4329, allocations: 0 / 1.287 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.4329, allocations: 0 / 1.287 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002775/0.4332, allocations: 132.7 kB / 1.287 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.4332, allocations: 0 / 1.287 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.394e-05/0.4333, allocations: 7.984 kB / 1.287 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.4333, allocations: 0 / 1.287 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.4333, allocations: 4 kB / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.4333, allocations: 8.031 kB / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.4333, allocations: 0 / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003993/0.4337, allocations: 169.2 kB / 1.287 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.148e-05/0.4337, allocations: 192 / 1.287 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/0.4337, allocations: 0 / 1.287 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.4339, allocations: 11.97 kB / 1.287 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.89e-05/0.4339, allocations: 11.94 kB / 1.287 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.4339, allocations: 0 / 1.287 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.86e-05/0.434, allocations: 83.31 kB / 1.287 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/0.434, allocations: 0 / 1.287 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004703/0.4345, allocations: 31.92 kB / 1.287 GB, free: 7.602 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.001142/0.4356, allocations: 0.7357 MB / 1.288 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003468/0.436, allocations: 31.97 kB / 1.288 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.436, allocations: 0 / 1.288 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.4361, allocations: 23.97 kB / 1.288 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003901/0.4365, allocations: 0 / 1.288 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007131/0.4372, allocations: 155.1 kB / 1.288 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000105/0.4373, allocations: 67.28 kB / 1.288 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.438e-05/0.4374, allocations: 0 / 1.288 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.935e-05/0.4374, allocations: 11.44 kB / 1.288 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of SimCode: time 4.11e-07/0.4374, allocations: 0 / 1.288 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04487/0.4823, allocations: 2.287 MB / 1.29 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/12.02, allocations: 10.44 kB / 1.29 GB, free: 4.32 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: 19.04020264558494]