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.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.001692/0.001692, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.002003/0.002003, allocations: 213.1 kB / 22.24 MB, free: 5.117 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.507/1.507, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.295/3.295, allocations: 0.4892 GB / 0.7943 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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: 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: 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.002237/0.002237, allocations: 70.58 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3441, allocations: 176.1 MB / 1.326 GB, free: 1.848 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.001783/0.3459, allocations: 0.6043 MB / 1.326 GB, free: 1.25 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0006112/0.3465, allocations: 259.5 kB / 1.326 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.147e-05/0.3465, allocations: 0 / 1.326 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.526e-05/0.3465, allocations: 0 / 1.326 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.95e-06/0.3465, allocations: 0 / 1.326 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004335/0.3469, allocations: 99.72 kB / 1.326 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 3.112e-05/0.347, allocations: 0 / 1.326 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.779e-05/0.347, allocations: 0 / 1.326 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.097e-05/0.347, allocations: 0 / 1.326 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 1.639e-05/0.347, allocations: 4 kB / 1.326 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.841e-06/0.347, allocations: 0 / 1.326 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002483/0.3473, allocations: 119.7 kB / 1.327 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.117e-06/0.3473, allocations: 0 / 1.327 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.16e-05/0.3473, allocations: 0 / 1.327 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001537/0.3475, allocations: 67.78 kB / 1.327 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.3475, allocations: 0 / 1.327 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.966e-06/0.3475, allocations: 8 kB / 1.327 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.3475, allocations: 0 / 1.327 GB, free: 0.7031 MB / 1.014 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.000315/0.3478, allocations: 254.3 kB / 1.327 GB, free: 432 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.3478, allocations: 11.97 kB / 1.327 GB, free: 420 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.214e-05/0.3478, allocations: 0.9375 kB / 1.327 GB, free: 420 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.172e-05/0.3479, allocations: 106.5 kB / 1.327 GB, free: 288 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.715e-06/0.3479, allocations: 384 / 1.327 GB, free: 288 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.348, allocations: 4.312 kB / 1.327 GB, free: 284 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.243e-05/0.348, allocations: 30.25 kB / 1.327 GB, free: 248 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.3481, allocations: 4.188 kB / 1.327 GB, free: 244 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.3481, allocations: 7.938 kB / 1.327 GB, free: 236 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.3481, allocations: 0 / 1.327 GB, free: 236 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.49e-05/0.3481, allocations: 0 / 1.327 GB, free: 236 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001176/0.3482, allocations: 101.3 kB / 1.327 GB, free: 104 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 4.382e-05/0.3482, allocations: 14.58 kB / 1.327 GB, free: 80 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.793e-05/0.3483, allocations: 8.797 kB / 1.327 GB, free: 68 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005864/0.3488, allocations: 88 kB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.3489, allocations: 30.56 kB / 1.327 GB, free: 15.94 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.3489, allocations: 0 / 1.327 GB, free: 15.94 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0001322/0.349, allocations: 33.64 kB / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.349, allocations: 51.41 kB / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.888e-05/0.3491, allocations: 93.86 kB / 1.327 GB, free: 15.74 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.3491, allocations: 29.7 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.058e-05/0.3492, allocations: 80.14 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/0.3492, allocations: 3.953 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-05/0.3492, allocations: 9.844 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.3493, allocations: 322.8 kB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.068e-05/0.3494, allocations: 3.938 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.089e-06/0.3494, allocations: 0 / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.588e-05/0.3494, allocations: 12.86 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.3494, allocations: 0 / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.025e-05/0.3494, allocations: 29.7 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.3495, allocations: 7.938 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.3495, allocations: 4 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.3495, allocations: 0 / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.634e-05/0.3495, allocations: 8.031 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.3495, allocations: 3.984 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.08e-05/0.3495, allocations: 4 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.3495, allocations: 4 kB / 1.328 GB, free: 15.19 MB / 1.029 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 7.24e-05/0.3496, allocations: 110.3 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.965e-06/0.3496, allocations: 3.984 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.173e-05/0.3497, allocations: 36.7 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3497, allocations: 3.938 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.3497, allocations: 0 / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.3497, allocations: 3.984 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.921e-05/0.3498, allocations: 105.3 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.3498, allocations: 0 / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.039e-05/0.3498, allocations: 0 / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.3498, allocations: 0 / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.809e-06/0.3498, allocations: 4 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.3498, allocations: 0 / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.3498, allocations: 3.938 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.262e-05/0.3499, allocations: 65.06 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.556e-06/0.3499, allocations: 0 / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.504e-06/0.3499, allocations: 0 / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.583e-06/0.3499, allocations: 4.031 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.472e-05/0.3499, allocations: 3.938 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-06/0.3499, allocations: 0 / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.836e-05/0.3499, allocations: 79.28 kB / 1.328 GB, free: 14.71 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3499, allocations: 0 / 1.328 GB, free: 14.71 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002117/0.3502, allocations: 27.92 kB / 1.328 GB, free: 14.68 MB / 1.029 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.0002476/0.3504, allocations: 139.1 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 6.186e-05/0.3505, allocations: 4 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3505, allocations: 0 / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.015e-06/0.3505, allocations: 7.938 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001285/0.3506, allocations: 4 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001999/0.3508, allocations: 77.94 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.864e-05/0.3508, allocations: 59.47 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.208e-06/0.3509, allocations: 4 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.592e-05/0.3509, allocations: 7.438 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.3509, allocations: 0 / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of Templates: time 0.00294/0.3538, allocations: 0.6182 MB / 1.329 GB, free: 13.71 MB / 1.029 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: 9.038002263754606]