Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.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.001809/0.001809, allocations: 115.1 kB / 17.16 MB, free: 5.895 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.00218/0.00218, allocations: 215 kB / 20.13 MB, free: 2.949 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.589/1.589, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.123/3.123, allocations: 0.5003 GB / 0.8026 GB, free: 6.746 MB / 0.6387 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.BesselY1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselY1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselY1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_BesselY1",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.002373/0.002373, allocations: 67.91 kB / 1.165 GB, free: 488 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.101/1.104, allocations: 178.9 MB / 1.34 GB, free: 16.25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.002925/1.107, allocations: 1.459 MB / 1.342 GB, free: 15.22 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0007743/1.107, allocations: 359.4 kB / 1.342 GB, free: 14.99 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.589e-05/1.107, allocations: 1.25 kB / 1.342 GB, free: 14.99 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.22e-05/1.107, allocations: 0 / 1.342 GB, free: 14.99 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.825e-05/1.107, allocations: 8.484 kB / 1.342 GB, free: 14.98 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005174/1.108, allocations: 110.6 kB / 1.342 GB, free: 14.94 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.165e-05/1.108, allocations: 18.72 kB / 1.342 GB, free: 14.93 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.549e-05/1.108, allocations: 8.031 kB / 1.342 GB, free: 14.93 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.698e-05/1.108, allocations: 9.703 kB / 1.342 GB, free: 14.92 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.517e-05/1.108, allocations: 13.41 kB / 1.342 GB, free: 14.91 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/1.108, allocations: 1.312 kB / 1.342 GB, free: 14.91 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002798/1.109, allocations: 142.8 kB / 1.342 GB, free: 14.86 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.317e-05/1.109, allocations: 2.781 kB / 1.342 GB, free: 14.86 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.535e-05/1.109, allocations: 10.73 kB / 1.342 GB, free: 14.86 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002391/1.109, allocations: 90.11 kB / 1.342 GB, free: 14.83 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/1.109, allocations: 0 / 1.342 GB, free: 14.83 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.004e-06/1.109, allocations: 0 / 1.342 GB, free: 14.83 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.238e-05/1.109, allocations: 0 / 1.342 GB, free: 14.83 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.0004747/1.109, allocations: 359.8 kB / 1.343 GB, free: 14.45 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/1.109, allocations: 12.62 kB / 1.343 GB, free: 14.45 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.534e-05/1.109, allocations: 6.578 kB / 1.343 GB, free: 14.45 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.466e-05/1.109, allocations: 34.75 kB / 1.343 GB, free: 14.4 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.741e-05/1.109, allocations: 2.844 kB / 1.343 GB, free: 14.4 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.842e-05/1.109, allocations: 166.2 kB / 1.343 GB, free: 14.2 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/1.11, allocations: 2.359 kB / 1.343 GB, free: 14.2 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/1.11, allocations: 1.469 kB / 1.343 GB, free: 14.2 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/1.11, allocations: 52.67 kB / 1.343 GB, free: 14.16 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/1.11, allocations: 0 / 1.343 GB, free: 14.16 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/1.11, allocations: 5.469 kB / 1.343 GB, free: 14.16 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/1.11, allocations: 0 / 1.343 GB, free: 14.16 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001744/1.11, allocations: 33.33 kB / 1.343 GB, free: 14.16 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002951/1.11, allocations: 252.6 kB / 1.343 GB, free: 13.88 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/1.11, allocations: 35.23 kB / 1.343 GB, free: 13.85 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.197e-05/1.11, allocations: 27.97 kB / 1.343 GB, free: 13.84 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007047/1.111, allocations: 468.7 kB / 1.344 GB, free: 13.36 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/1.111, allocations: 37.14 kB / 1.344 GB, free: 13.32 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.283e-06/1.111, allocations: 0 / 1.344 GB, free: 13.32 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0003759/1.112, allocations: 79.23 kB / 1.344 GB, free: 13.28 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/1.112, allocations: 52.2 kB / 1.344 GB, free: 13.22 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.59e-05/1.112, allocations: 101.6 kB / 1.344 GB, free: 13.12 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.886e-06/1.112, allocations: 29.7 kB / 1.344 GB, free: 13.08 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.231e-05/1.112, allocations: 82.75 kB / 1.344 GB, free: 13 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/1.112, allocations: 9.766 kB / 1.344 GB, free: 12.99 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.829e-05/1.112, allocations: 12.3 kB / 1.344 GB, free: 12.98 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.082e-05/1.112, allocations: 312.4 kB / 1.344 GB, free: 12.66 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.467e-05/1.112, allocations: 18.97 kB / 1.344 GB, free: 12.66 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.471e-05/1.112, allocations: 21.45 kB / 1.344 GB, free: 12.65 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/1.112, allocations: 44.52 kB / 1.344 GB, free: 12.63 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/1.112, allocations: 1.062 kB / 1.344 GB, free: 12.63 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000191/1.112, allocations: 73.98 kB / 1.345 GB, free: 12.59 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/1.112, allocations: 6.297 kB / 1.345 GB, free: 12.59 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/1.112, allocations: 1.375 kB / 1.345 GB, free: 12.59 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/1.112, allocations: 4.094 kB / 1.345 GB, free: 12.58 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/1.112, allocations: 8.547 kB / 1.345 GB, free: 12.58 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/1.112, allocations: 6.062 kB / 1.345 GB, free: 12.58 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.996e-05/1.112, allocations: 8.656 kB / 1.345 GB, free: 12.57 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-06/1.112, allocations: 1.375 kB / 1.345 GB, free: 12.57 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 6.089e-05/1.113, allocations: 111.8 kB / 1.345 GB, free: 12.46 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.586e-05/1.113, allocations: 6.109 kB / 1.345 GB, free: 12.45 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002301/1.113, allocations: 79.09 kB / 1.345 GB, free: 12.4 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/1.113, allocations: 0.75 kB / 1.345 GB, free: 12.4 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/1.113, allocations: 1.375 kB / 1.345 GB, free: 12.4 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/1.113, allocations: 0 / 1.345 GB, free: 12.4 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001283/1.113, allocations: 159.3 kB / 1.345 GB, free: 12.21 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/1.113, allocations: 0.7031 kB / 1.345 GB, free: 12.21 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.885e-05/1.113, allocations: 9.641 kB / 1.345 GB, free: 12.21 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/1.113, allocations: 0 / 1.345 GB, free: 12.21 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/1.113, allocations: 0 / 1.345 GB, free: 12.21 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/1.113, allocations: 6.062 kB / 1.345 GB, free: 12.2 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/1.113, allocations: 0 / 1.345 GB, free: 12.2 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002221/1.113, allocations: 162.9 kB / 1.345 GB, free: 12.06 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.576e-05/1.113, allocations: 86.38 kB / 1.345 GB, free: 11.96 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/1.113, allocations: 2.125 kB / 1.345 GB, free: 11.96 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.363e-05/1.113, allocations: 8.984 kB / 1.345 GB, free: 11.96 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.486e-05/1.113, allocations: 2.641 kB / 1.345 GB, free: 11.96 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/1.113, allocations: 1.375 kB / 1.345 GB, free: 11.96 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.087e-05/1.113, allocations: 83.67 kB / 1.345 GB, free: 11.88 MB / 1.061 GB Notification: Performance of sort global known variables: time 5e-08/1.113, allocations: 0 / 1.345 GB, free: 11.88 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002775/1.114, allocations: 29.55 kB / 1.345 GB, free: 11.88 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.0005879/1.114, allocations: 0.7292 MB / 1.346 GB, free: 11.2 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002425/1.115, allocations: 43.59 kB / 1.346 GB, free: 11.18 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.115, allocations: 0 / 1.346 GB, free: 11.18 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.981e-05/1.115, allocations: 19.92 kB / 1.346 GB, free: 11.18 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/1.115, allocations: 2.156 kB / 1.346 GB, free: 11.18 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004277/1.115, allocations: 151.5 kB / 1.346 GB, free: 11.02 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000142/1.115, allocations: 0.6875 MB / 1.347 GB, free: 10.32 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.956e-05/1.115, allocations: 5.062 kB / 1.347 GB, free: 10.31 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.451e-05/1.115, allocations: 13.45 kB / 1.347 GB, free: 10.3 MB / 1.061 GB Notification: Performance of SimCode: time 2.8e-07/1.115, allocations: 0 / 1.347 GB, free: 10.3 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0195/1.135, allocations: 1.81 MB / 1.349 GB, free: 9.883 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.454/9.589, allocations: 13.95 kB / 1.349 GB, free: 9.875 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --stepSize=0.01196 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_BesselY1.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselY1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.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: 16.557541501999367]