Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.BesselY0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 117.3 kB / 16.37 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001656/0.001656, allocations: 191.8 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.416/2.416, allocations: 437.1 MB / 0.7112 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002601/0.002602, allocations: 64.84 kB / 0.8707 GB, free: 1.523 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.3122, allocations: 151.6 MB / 1.019 GB, free: 9.922 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.002861/0.3151, allocations: 1.437 MB / 1.02 GB, free: 8.469 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0007486/0.3159, allocations: 343.6 kB / 1.021 GB, free: 8.129 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.478e-05/0.3159, allocations: 3.938 kB / 1.021 GB, free: 8.125 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.073e-05/0.316, allocations: 4 kB / 1.021 GB, free: 8.121 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.713e-05/0.3161, allocations: 3.938 kB / 1.021 GB, free: 8.117 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005268/0.3166, allocations: 108.1 kB / 1.021 GB, free: 8.012 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.518e-05/0.3167, allocations: 19.94 kB / 1.021 GB, free: 7.992 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.578e-05/0.3168, allocations: 7.984 kB / 1.021 GB, free: 7.984 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.897e-05/0.3168, allocations: 11.94 kB / 1.021 GB, free: 7.973 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.688e-05/0.3169, allocations: 11.92 kB / 1.021 GB, free: 7.961 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.175e-05/0.3169, allocations: 4 kB / 1.021 GB, free: 7.957 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002363/0.3171, allocations: 119.8 kB / 1.021 GB, free: 7.84 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.216e-05/0.3171, allocations: 4 kB / 1.021 GB, free: 7.836 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.31e-05/0.3172, allocations: 11.92 kB / 1.021 GB, free: 7.824 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001881/0.3174, allocations: 79.88 kB / 1.021 GB, free: 7.746 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3174, allocations: 0 / 1.021 GB, free: 7.746 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3174, allocations: 0 / 1.021 GB, free: 7.746 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.3174, allocations: 4 kB / 1.021 GB, free: 7.742 MB / 0.795 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.0004814/0.3179, allocations: 355.4 kB / 1.021 GB, free: 7.344 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.3179, allocations: 12.92 kB / 1.021 GB, free: 7.332 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.089e-05/0.318, allocations: 8.781 kB / 1.021 GB, free: 7.324 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.3181, allocations: 164.4 kB / 1.021 GB, free: 7.125 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.3181, allocations: 4.375 kB / 1.021 GB, free: 7.121 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.3181, allocations: 8.359 kB / 1.021 GB, free: 7.113 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.3183, allocations: 46.25 kB / 1.021 GB, free: 7.062 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.3183, allocations: 192 / 1.021 GB, free: 7.062 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.3183, allocations: 3.938 kB / 1.021 GB, free: 7.059 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.3183, allocations: 3.984 kB / 1.021 GB, free: 7.055 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001595/0.3185, allocations: 35.95 kB / 1.022 GB, free: 7.02 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00037/0.3189, allocations: 254.4 kB / 1.022 GB, free: 6.723 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.319, allocations: 42.53 kB / 1.022 GB, free: 6.672 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.951e-05/0.3191, allocations: 20.91 kB / 1.022 GB, free: 6.648 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007239/0.3198, allocations: 457.5 kB / 1.022 GB, free: 6.109 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.3199, allocations: 38.56 kB / 1.022 GB, free: 6.062 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.363e-06/0.3199, allocations: 0 / 1.022 GB, free: 6.062 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0003401/0.3202, allocations: 81.7 kB / 1.022 GB, free: 5.977 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/0.3203, allocations: 59.41 kB / 1.022 GB, free: 5.906 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.325e-05/0.3203, allocations: 97.86 kB / 1.023 GB, free: 5.801 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.3204, allocations: 25.7 kB / 1.023 GB, free: 5.77 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.385e-05/0.3204, allocations: 88.03 kB / 1.023 GB, free: 5.68 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.538e-05/0.3204, allocations: 4 kB / 1.023 GB, free: 5.676 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-05/0.3205, allocations: 13.72 kB / 1.023 GB, free: 5.656 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.235e-05/0.3206, allocations: 310.8 kB / 1.023 GB, free: 5.344 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.802e-05/0.3207, allocations: 27.92 kB / 1.023 GB, free: 5.316 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.828e-05/0.3207, allocations: 15.97 kB / 1.023 GB, free: 5.301 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.3209, allocations: 36.83 kB / 1.023 GB, free: 5.262 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3209, allocations: 0 / 1.023 GB, free: 5.262 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001746/0.3211, allocations: 77.5 kB / 1.023 GB, free: 5.18 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.3211, allocations: 8 kB / 1.023 GB, free: 5.172 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3211, allocations: 0 / 1.023 GB, free: 5.172 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.3211, allocations: 0 / 1.023 GB, free: 5.172 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.226e-05/0.3212, allocations: 7.984 kB / 1.023 GB, free: 5.164 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.3212, allocations: 4 kB / 1.023 GB, free: 5.16 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.305e-05/0.3213, allocations: 8 kB / 1.023 GB, free: 5.152 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.289e-06/0.3213, allocations: 3.938 kB / 1.023 GB, free: 5.148 MB / 0.795 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 7.213e-05/0.3214, allocations: 113.8 kB / 1.023 GB, free: 5.027 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.415e-05/0.3214, allocations: 3.984 kB / 1.023 GB, free: 5.023 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002003/0.3216, allocations: 76.72 kB / 1.023 GB, free: 4.941 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.3216, allocations: 0 / 1.023 GB, free: 4.941 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3216, allocations: 0 / 1.023 GB, free: 4.941 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.3216, allocations: 0 / 1.023 GB, free: 4.941 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001462/0.3218, allocations: 157.6 kB / 1.023 GB, free: 4.738 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3218, allocations: 0 / 1.023 GB, free: 4.738 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.664e-05/0.3218, allocations: 16.02 kB / 1.023 GB, free: 4.723 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.3218, allocations: 0 / 1.023 GB, free: 4.723 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.3219, allocations: 0 / 1.023 GB, free: 4.723 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3219, allocations: 0 / 1.023 GB, free: 4.723 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.3219, allocations: 0 / 1.023 GB, free: 4.723 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000274/0.3221, allocations: 163.5 kB / 1.024 GB, free: 4.547 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.682e-05/0.3222, allocations: 88.98 kB / 1.024 GB, free: 4.441 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.3222, allocations: 7.984 kB / 1.024 GB, free: 4.434 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.998e-05/0.3223, allocations: 4 kB / 1.024 GB, free: 4.43 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.114e-05/0.3223, allocations: 3.938 kB / 1.024 GB, free: 4.426 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.3223, allocations: 4 kB / 1.024 GB, free: 4.422 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.922e-05/0.3224, allocations: 83.27 kB / 1.024 GB, free: 4.34 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3224, allocations: 0 / 1.024 GB, free: 4.34 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002575/0.3227, allocations: 32 kB / 1.024 GB, free: 4.309 MB / 0.795 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.0002337/0.3229, allocations: 131.2 kB / 1.024 GB, free: 4.172 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002488/0.3231, allocations: 39.95 kB / 1.024 GB, free: 4.133 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3232, allocations: 4.062 kB / 1.024 GB, free: 4.129 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 7.765e-05/0.3232, allocations: 19.98 kB / 1.024 GB, free: 4.109 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.3235, allocations: 3.938 kB / 1.024 GB, free: 4.105 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002779/0.3238, allocations: 105.6 kB / 1.024 GB, free: 3.977 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.324, allocations: 0.6806 MB / 1.025 GB, free: 3.27 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.005e-05/0.324, allocations: 0 / 1.025 GB, free: 3.27 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.993e-05/0.3241, allocations: 11.5 kB / 1.025 GB, free: 3.258 MB / 0.795 GB Notification: Performance of SimCode: time 2.4e-07/0.3241, allocations: 0 / 1.025 GB, free: 3.258 MB / 0.795 GB Notification: Performance of Templates: time 0.003277/0.3273, allocations: 0.8874 MB / 1.026 GB, free: 2.379 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.BesselY0 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_BesselY0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches