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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001934/0.001934, allocations: 105.8 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002349/0.002349, allocations: 192.4 kB / 22.11 MB, free: 5.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 225.6 MB / 250.8 MB, free: 13.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.209/3.209, allocations: 495.8 MB / 0.783 GB, free: 33.63 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y0",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y0",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002136/0.002136, allocations: 67.55 kB / 1.137 GB, free: 33.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3581/0.3602, allocations: 173.6 MB / 1.307 GB, free: 1.789 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.00181/0.362, allocations: 0.6062 MB / 1.307 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0006601/0.3627, allocations: 287.4 kB / 1.308 GB, free: 0.9023 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.416e-05/0.3627, allocations: 0 / 1.308 GB, free: 0.9023 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.459e-05/0.3627, allocations: 3.938 kB / 1.308 GB, free: 0.8984 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.833e-06/0.3627, allocations: 0 / 1.308 GB, free: 0.8984 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005103/0.3632, allocations: 95.72 kB / 1.308 GB, free: 0.8047 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 4.784e-05/0.3633, allocations: 4 kB / 1.308 GB, free: 0.8008 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.58e-05/0.3633, allocations: 3.984 kB / 1.308 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.931e-05/0.3634, allocations: 0 / 1.308 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.52e-05/0.3634, allocations: 3.984 kB / 1.308 GB, free: 0.793 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.013e-06/0.3634, allocations: 0 / 1.308 GB, free: 0.793 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002539/0.3636, allocations: 111.8 kB / 1.308 GB, free: 0.6836 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.689e-05/0.3637, allocations: 11.94 kB / 1.308 GB, free: 0.6719 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.694e-05/0.3637, allocations: 7.938 kB / 1.308 GB, free: 0.6641 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001689/0.3638, allocations: 67.81 kB / 1.308 GB, free: 0.5977 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/0.3639, allocations: 4 kB / 1.308 GB, free: 0.5938 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3639, allocations: 0 / 1.308 GB, free: 0.5938 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.3639, allocations: 0 / 1.308 GB, free: 0.5938 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.0003568/0.3642, allocations: 250.2 kB / 1.308 GB, free: 324 kB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.3643, allocations: 8.031 kB / 1.308 GB, free: 316 kB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.327e-05/0.3643, allocations: 8.922 kB / 1.308 GB, free: 308 kB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.983e-05/0.3644, allocations: 106.5 kB / 1.308 GB, free: 176 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.3644, allocations: 384 / 1.308 GB, free: 176 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.773e-06/0.3644, allocations: 384 / 1.308 GB, free: 176 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/0.3645, allocations: 30.27 kB / 1.308 GB, free: 140 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.3645, allocations: 192 / 1.308 GB, free: 140 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.3645, allocations: 7.875 kB / 1.308 GB, free: 132 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.3645, allocations: 0 / 1.308 GB, free: 132 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.421e-05/0.3646, allocations: 7.984 kB / 1.308 GB, free: 124 kB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001745/0.3647, allocations: 120.8 kB / 1.308 GB, free: 15.96 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 4.234e-05/0.3648, allocations: 18.58 kB / 1.308 GB, free: 15.93 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.525e-05/0.3648, allocations: 4.859 kB / 1.308 GB, free: 15.93 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005765/0.3654, allocations: 72.02 kB / 1.309 GB, free: 15.86 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.3654, allocations: 38.56 kB / 1.309 GB, free: 15.81 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.3654, allocations: 0 / 1.309 GB, free: 15.81 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.000142/0.3656, allocations: 45.56 kB / 1.309 GB, free: 15.76 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.059e-05/0.3656, allocations: 55.34 kB / 1.309 GB, free: 15.69 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.605e-05/0.3657, allocations: 89.86 kB / 1.309 GB, free: 15.59 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.3657, allocations: 25.7 kB / 1.309 GB, free: 15.56 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 3.983e-05/0.3658, allocations: 84.08 kB / 1.309 GB, free: 15.48 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.069e-05/0.3658, allocations: 0 / 1.309 GB, free: 15.48 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.131e-05/0.3658, allocations: 17.84 kB / 1.309 GB, free: 15.45 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002441/0.3661, allocations: 314.8 kB / 1.309 GB, free: 15.14 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.298e-06/0.3661, allocations: 0 / 1.309 GB, free: 15.14 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.651e-06/0.3661, allocations: 0 / 1.309 GB, free: 15.14 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.561e-05/0.3661, allocations: 12.8 kB / 1.309 GB, free: 15.12 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3661, allocations: 0 / 1.309 GB, free: 15.12 MB / 1.014 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.886e-05/0.3662, allocations: 33.69 kB / 1.309 GB, free: 15.08 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.3662, allocations: 8 kB / 1.309 GB, free: 15.07 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.3662, allocations: 4.094 kB / 1.309 GB, free: 15.07 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.3662, allocations: 3.938 kB / 1.309 GB, free: 15.07 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.322e-05/0.3662, allocations: 0 / 1.309 GB, free: 15.07 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.3662, allocations: 4 kB / 1.309 GB, free: 15.06 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.218e-05/0.3663, allocations: 4 kB / 1.309 GB, free: 15.06 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.3663, allocations: 0 / 1.309 GB, free: 15.06 MB / 1.014 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 0.0001471/0.3664, allocations: 113.8 kB / 1.309 GB, free: 14.94 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.122e-06/0.3664, allocations: 0 / 1.309 GB, free: 14.94 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.651e-05/0.3665, allocations: 48.56 kB / 1.309 GB, free: 14.89 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.3665, allocations: 0 / 1.309 GB, free: 14.89 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3665, allocations: 4 kB / 1.309 GB, free: 14.88 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.3665, allocations: 0 / 1.309 GB, free: 14.88 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002114/0.3667, allocations: 116.8 kB / 1.31 GB, free: 14.73 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3667, allocations: 0 / 1.31 GB, free: 14.73 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.296e-05/0.3667, allocations: 4 kB / 1.31 GB, free: 14.72 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-06/0.3667, allocations: 0 / 1.31 GB, free: 14.72 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.3667, allocations: 3.938 kB / 1.31 GB, free: 14.72 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.3667, allocations: 0 / 1.31 GB, free: 14.72 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3667, allocations: 0 / 1.31 GB, free: 14.72 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.264e-05/0.3668, allocations: 61.11 kB / 1.31 GB, free: 14.64 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.392e-06/0.3668, allocations: 7.984 kB / 1.31 GB, free: 14.63 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/0.3668, allocations: 3.938 kB / 1.31 GB, free: 14.63 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.763e-06/0.3668, allocations: 0 / 1.31 GB, free: 14.63 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.088e-05/0.3669, allocations: 3.938 kB / 1.31 GB, free: 14.62 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-06/0.3669, allocations: 0 / 1.31 GB, free: 14.62 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.016e-05/0.3669, allocations: 75.28 kB / 1.31 GB, free: 14.55 MB / 1.014 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3669, allocations: 4.031 kB / 1.31 GB, free: 14.55 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00022/0.3671, allocations: 31.94 kB / 1.31 GB, free: 14.52 MB / 1.014 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.0002753/0.3674, allocations: 135.9 kB / 1.31 GB, free: 14.37 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 7.615e-05/0.3675, allocations: 7.984 kB / 1.31 GB, free: 14.36 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.3675, allocations: 0 / 1.31 GB, free: 14.36 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 5.681e-06/0.3675, allocations: 0 / 1.31 GB, free: 14.36 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001379/0.3676, allocations: 4.875 kB / 1.31 GB, free: 14.36 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002062/0.3678, allocations: 92.81 kB / 1.31 GB, free: 14.24 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003785/0.3682, allocations: 0.669 MB / 1.311 GB, free: 13.55 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.397e-05/0.3682, allocations: 3.984 kB / 1.311 GB, free: 13.54 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.796e-05/0.3682, allocations: 15.56 kB / 1.311 GB, free: 13.53 MB / 1.014 GB Notification: Performance of SimCode: time 2.9e-07/0.3682, allocations: 0 / 1.311 GB, free: 13.53 MB / 1.014 GB Notification: Performance of Templates: time 0.003216/0.3714, allocations: 0.6344 MB / 1.311 GB, free: 12.89 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) [Timeout 400] 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/jenkins/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: 8.86379841528833]