Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001279/0.001279, 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.00158/0.00158, allocations: 214.3 kB / 22.25 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.567/1.567, allocations: 230.6 MB / 256 MB, free: 7.773 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.437/3.437, allocations: 0.5107 GB / 0.8158 GB, free: 17.74 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.Examples.BesselY0,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY0,fileNamePrefix="Buildings_latest_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.002109/0.002109, allocations: 68.3 kB / 1.186 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3909/0.393, allocations: 181.9 MB / 1.363 GB, free: 14.03 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.003672/0.3967, allocations: 1.452 MB / 1.365 GB, free: 12.56 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0008924/0.3976, allocations: 318.9 kB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.95e-05/0.3976, allocations: 0 / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.931e-05/0.3977, allocations: 0 / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.603e-05/0.3977, allocations: 3.938 kB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000601/0.3983, allocations: 107.7 kB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.698e-05/0.3984, allocations: 23.92 kB / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.3985, allocations: 11.98 kB / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.508e-05/0.3986, allocations: 7.984 kB / 1.365 GB, free: 12.1 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.272e-05/0.3986, allocations: 11.94 kB / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.044e-05/0.3986, allocations: 0 / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003118/0.399, allocations: 119.8 kB / 1.365 GB, free: 11.97 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.989e-05/0.399, allocations: 3.984 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.683e-05/0.399, allocations: 11.94 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002304/0.3992, allocations: 87.97 kB / 1.365 GB, free: 11.87 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.994e-06/0.3992, allocations: 3.938 kB / 1.365 GB, free: 11.86 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.315e-06/0.3992, allocations: 4 kB / 1.365 GB, free: 11.86 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.3992, allocations: 0 / 1.365 GB, free: 11.86 MB / 1.061 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.0005457/0.3998, allocations: 270.3 kB / 1.366 GB, free: 11.56 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/0.3998, allocations: 12.03 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.723e-05/0.3999, allocations: 30.75 kB / 1.366 GB, free: 11.51 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.384e-05/0.3999, allocations: 8.875 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.4001, allocations: 110.5 kB / 1.366 GB, free: 11.37 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.4001, allocations: 4.375 kB / 1.366 GB, free: 11.37 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.4001, allocations: 384 / 1.366 GB, free: 11.37 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.4003, allocations: 54.23 kB / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.4003, allocations: 3.938 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.4003, allocations: 3.938 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.4003, allocations: 4 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001739/0.4005, allocations: 35.95 kB / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003707/0.4009, allocations: 212.1 kB / 1.366 GB, free: 11.01 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001408/0.401, allocations: 38.5 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.285e-05/0.4011, allocations: 28.89 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006036/0.4017, allocations: 71.92 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/0.4017, allocations: 34.5 kB / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.4017, allocations: 0 / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.000371/0.4021, allocations: 85.64 kB / 1.366 GB, free: 10.73 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.4022, allocations: 51.41 kB / 1.367 GB, free: 10.67 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.416e-05/0.4022, allocations: 105.8 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.4023, allocations: 25.7 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.064e-05/0.4023, allocations: 84.09 kB / 1.367 GB, free: 10.44 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.369e-05/0.4023, allocations: 3.953 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.24e-05/0.4024, allocations: 21.66 kB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002085/0.4026, allocations: 314.8 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.4027, allocations: 20.11 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.103e-05/0.4028, allocations: 19.92 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.4029, allocations: 36.83 kB / 1.367 GB, free: 10.01 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.4029, allocations: 3.938 kB / 1.367 GB, free: 10.01 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002079/0.4031, allocations: 61.66 kB / 1.367 GB, free: 9.941 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/0.4032, allocations: 18.84 kB / 1.367 GB, free: 9.926 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.4032, allocations: 3.984 kB / 1.367 GB, free: 9.922 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.4032, allocations: 0 / 1.367 GB, free: 9.922 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.4033, allocations: 7.984 kB / 1.367 GB, free: 9.914 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.4033, allocations: 0 / 1.367 GB, free: 9.914 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.323e-05/0.4034, allocations: 11.98 kB / 1.367 GB, free: 9.902 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.4034, allocations: 4 kB / 1.367 GB, free: 9.898 MB / 1.061 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.0001234/0.4035, allocations: 114.4 kB / 1.367 GB, free: 9.777 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.229e-05/0.4035, allocations: 0 / 1.367 GB, free: 9.777 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002568/0.4038, allocations: 76.97 kB / 1.367 GB, free: 9.691 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.4038, allocations: 0 / 1.367 GB, free: 9.691 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.4038, allocations: 0 / 1.367 GB, free: 9.691 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.4038, allocations: 0 / 1.367 GB, free: 9.691 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001837/0.404, allocations: 132.7 kB / 1.368 GB, free: 9.52 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.404, allocations: 4 kB / 1.368 GB, free: 9.516 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.488e-05/0.404, allocations: 7.984 kB / 1.368 GB, free: 9.508 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.404, allocations: 0 / 1.368 GB, free: 9.508 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.4041, allocations: 0 / 1.368 GB, free: 9.508 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.4041, allocations: 4.031 kB / 1.368 GB, free: 9.504 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.4041, allocations: 0 / 1.368 GB, free: 9.504 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000301/0.4044, allocations: 171.3 kB / 1.368 GB, free: 9.32 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.885e-06/0.4044, allocations: 0 / 1.368 GB, free: 9.32 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.192e-05/0.4044, allocations: 8 kB / 1.368 GB, free: 9.312 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.371e-05/0.4045, allocations: 7.984 kB / 1.368 GB, free: 9.305 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.052e-05/0.4045, allocations: 0 / 1.368 GB, free: 9.305 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.4045, allocations: 4 kB / 1.368 GB, free: 9.301 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.123e-05/0.4046, allocations: 83.3 kB / 1.368 GB, free: 9.219 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4046, allocations: 4 kB / 1.368 GB, free: 9.215 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000274/0.4049, allocations: 23.94 kB / 1.368 GB, free: 9.191 MB / 1.061 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.0008051/0.4057, allocations: 0.7357 MB / 1.369 GB, free: 8.426 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002307/0.4059, allocations: 39.95 kB / 1.369 GB, free: 8.387 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4059, allocations: 0 / 1.369 GB, free: 8.387 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.247e-05/0.406, allocations: 11.98 kB / 1.369 GB, free: 8.375 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.4062, allocations: 12.06 kB / 1.369 GB, free: 8.363 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005284/0.4068, allocations: 155 kB / 1.369 GB, free: 8.172 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.133e-05/0.4068, allocations: 59.34 kB / 1.369 GB, free: 8.094 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.669e-05/0.4069, allocations: 3.938 kB / 1.369 GB, free: 8.09 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.438e-05/0.4069, allocations: 11.44 kB / 1.369 GB, free: 8.078 MB / 1.061 GB Notification: Performance of SimCode: time 2.8e-07/0.4069, allocations: 0 / 1.369 GB, free: 8.078 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03206/0.439, allocations: 2.293 MB / 1.371 GB, free: 5.918 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.67, allocations: 8.062 kB / 1.371 GB, free: 5.91 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --stepSize=0.01196 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_BesselY0.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselY0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.72196122771129]