Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001331/0.001331, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001428/0.001428, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.491/1.491, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 2.805/2.805, allocations: 476.7 MB / 0.7678 GB, free: 9.309 MB / 0.6075 GB " [Timeout remaining time 177] 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.Functions.Examples.BesselY0,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselY0",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="Buildings_11_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.003445/0.003445, allocations: 67.91 kB / 1.113 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9578/0.9612, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.002069/0.9633, allocations: 0.5804 MB / 1.28 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008174/0.9641, allocations: 305.1 kB / 1.28 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.702e-05/0.9641, allocations: 0.7188 kB / 1.28 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.232e-05/0.9641, allocations: 0 / 1.28 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.484e-06/0.9641, allocations: 0 / 1.28 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005555/0.9647, allocations: 91.92 kB / 1.28 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.034e-05/0.9648, allocations: 10.09 kB / 1.28 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.707e-05/0.9648, allocations: 1.094 kB / 1.28 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.728e-05/0.9648, allocations: 2.156 kB / 1.28 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.251e-05/0.9648, allocations: 0 / 1.28 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.654e-06/0.9648, allocations: 0 / 1.28 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000296/0.9651, allocations: 126.4 kB / 1.28 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.124e-05/0.9652, allocations: 1.688 kB / 1.28 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.597e-05/0.9652, allocations: 0 / 1.28 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001911/0.9654, allocations: 68.48 kB / 1.28 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.9654, allocations: 0 / 1.28 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.715e-06/0.9654, allocations: 1.156 kB / 1.28 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.9654, allocations: 0 / 1.28 GB, free: 11.09 MB / 0.9981 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.0004031/0.9658, allocations: 334.9 kB / 1.28 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.9658, allocations: 9.812 kB / 1.28 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.688e-05/0.9658, allocations: 5.25 kB / 1.28 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.402e-05/0.9659, allocations: 31.31 kB / 1.28 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.489e-05/0.9659, allocations: 1.688 kB / 1.28 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.966, allocations: 161.2 kB / 1.281 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.966, allocations: 5.922 kB / 1.281 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.265e-06/0.9661, allocations: 1.125 kB / 1.281 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.9662, allocations: 32.2 kB / 1.281 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.9662, allocations: 0.75 kB / 1.281 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.9662, allocations: 0 / 1.281 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.9662, allocations: 0.75 kB / 1.281 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.424e-05/0.9662, allocations: 10.56 kB / 1.281 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001686/0.9664, allocations: 148.2 kB / 1.281 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.513e-05/0.9664, allocations: 15.67 kB / 1.281 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.941e-05/0.9664, allocations: 10.77 kB / 1.281 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008287/0.9673, allocations: 461.2 kB / 1.281 GB, free: 9.734 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.9673, allocations: 35.83 kB / 1.281 GB, free: 9.691 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.9673, allocations: 0 / 1.281 GB, free: 9.691 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001495/0.9675, allocations: 36.12 kB / 1.281 GB, free: 9.656 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/0.9675, allocations: 56.5 kB / 1.281 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.103e-05/0.9676, allocations: 90.47 kB / 1.282 GB, free: 9.492 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.9676, allocations: 29.83 kB / 1.282 GB, free: 9.457 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.882e-05/0.9676, allocations: 81.3 kB / 1.282 GB, free: 9.375 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.39e-05/0.9676, allocations: 8.5 kB / 1.282 GB, free: 9.367 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.115e-05/0.9677, allocations: 12.67 kB / 1.282 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.9678, allocations: 310.8 kB / 1.282 GB, free: 9.039 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.298e-05/0.9678, allocations: 5.656 kB / 1.282 GB, free: 9.035 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.841e-06/0.9678, allocations: 1 kB / 1.282 GB, free: 9.035 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.051e-05/0.9679, allocations: 16.73 kB / 1.282 GB, free: 9.02 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.9679, allocations: 0 / 1.282 GB, free: 9.02 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.887e-05/0.9679, allocations: 36.28 kB / 1.282 GB, free: 8.984 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.9679, allocations: 9.25 kB / 1.282 GB, free: 8.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.9679, allocations: 0 / 1.282 GB, free: 8.98 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.968, allocations: 1.5 kB / 1.282 GB, free: 8.98 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.425e-05/0.968, allocations: 6.625 kB / 1.282 GB, free: 8.977 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.968, allocations: 0 / 1.282 GB, free: 8.977 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.819e-06/0.968, allocations: 1.062 kB / 1.282 GB, free: 8.977 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.453e-06/0.968, allocations: 0 / 1.282 GB, free: 8.977 MB / 0.9981 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 8.479e-05/0.9681, allocations: 114 kB / 1.282 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.458e-06/0.9681, allocations: 5.828 kB / 1.282 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.749e-05/0.9682, allocations: 38.84 kB / 1.282 GB, free: 8.812 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.9682, allocations: 3.938 kB / 1.282 GB, free: 8.809 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.9682, allocations: 1.281 kB / 1.282 GB, free: 8.809 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.9682, allocations: 0.7031 kB / 1.282 GB, free: 8.809 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001141/0.9683, allocations: 148.4 kB / 1.282 GB, free: 8.617 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.9683, allocations: 0 / 1.282 GB, free: 8.617 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.432e-05/0.9683, allocations: 3.109 kB / 1.282 GB, free: 8.617 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.9684, allocations: 12.61 kB / 1.282 GB, free: 8.605 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-06/0.9684, allocations: 0 / 1.282 GB, free: 8.605 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.9684, allocations: 1.312 kB / 1.282 GB, free: 8.605 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.9684, allocations: 0 / 1.282 GB, free: 8.605 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.431e-05/0.9684, allocations: 56.53 kB / 1.282 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.643e-05/0.9685, allocations: 79.72 kB / 1.282 GB, free: 8.445 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.069e-05/0.9685, allocations: 3.938 kB / 1.282 GB, free: 8.441 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.132e-05/0.9685, allocations: 5.859 kB / 1.282 GB, free: 8.438 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.12e-05/0.9685, allocations: 0 / 1.282 GB, free: 8.438 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.9685, allocations: 1.703 kB / 1.282 GB, free: 8.438 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.02e-05/0.9686, allocations: 75.28 kB / 1.283 GB, free: 8.363 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9686, allocations: 1.062 kB / 1.283 GB, free: 8.363 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002366/0.9688, allocations: 29.48 kB / 1.283 GB, free: 8.355 MB / 0.9981 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.0005864/0.9694, allocations: 0.6295 MB / 1.283 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.497e-05/0.9695, allocations: 4.062 kB / 1.283 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.9695, allocations: 4.094 kB / 1.283 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.386e-05/0.9695, allocations: 10.66 kB / 1.283 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001356/0.9696, allocations: 4.5 kB / 1.283 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003382/0.9699, allocations: 117.8 kB / 1.283 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.9702, allocations: 0.6749 MB / 1.284 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.36e-05/0.9703, allocations: 8.906 kB / 1.284 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.799e-05/0.9703, allocations: 9.406 kB / 1.284 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of SimCode: time 5.81e-07/0.9703, allocations: 0 / 1.284 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01848/0.9888, allocations: 1.452 MB / 1.285 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.292/9.281, allocations: 6.859 kB / 1.285 GB, free: 6.469 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --stepSize=0.01196 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_BesselY0.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_BesselY0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.572515298961662]