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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001324/0.001324, allocations: 102.5 kB / 16.27 MB, free: 5.98 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.001285/0.001285, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.326/1.326, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.446/2.446, allocations: 437 MB / 0.711 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 72.3 kB / 0.8699 GB, free: 2.195 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3142, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.003102/0.3173, allocations: 1.437 MB / 1.019 GB, free: 9.195 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009546/0.3183, allocations: 339.7 kB / 1.02 GB, free: 8.859 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.819e-05/0.3184, allocations: 4 kB / 1.02 GB, free: 8.855 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.9e-05/0.3185, allocations: 7.922 kB / 1.02 GB, free: 8.848 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.589e-05/0.3185, allocations: 0 / 1.02 GB, free: 8.848 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006857/0.3192, allocations: 99.62 kB / 1.02 GB, free: 8.75 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.919e-05/0.3193, allocations: 23.92 kB / 1.02 GB, free: 8.727 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.3195, allocations: 7.984 kB / 1.02 GB, free: 8.719 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.668e-05/0.3195, allocations: 11.94 kB / 1.02 GB, free: 8.707 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.945e-05/0.3196, allocations: 11.98 kB / 1.02 GB, free: 8.695 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.3196, allocations: 0 / 1.02 GB, free: 8.695 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003059/0.3199, allocations: 127.8 kB / 1.02 GB, free: 8.57 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.173e-05/0.32, allocations: 11.92 kB / 1.02 GB, free: 8.559 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.108e-05/0.32, allocations: 4 kB / 1.02 GB, free: 8.555 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002642/0.3203, allocations: 83.81 kB / 1.02 GB, free: 8.473 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.3203, allocations: 4 kB / 1.02 GB, free: 8.469 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.945e-06/0.3203, allocations: 0 / 1.02 GB, free: 8.469 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.021e-05/0.3203, allocations: 0 / 1.02 GB, free: 8.469 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.0006511/0.321, allocations: 351.8 kB / 1.02 GB, free: 8.074 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/0.321, allocations: 12.92 kB / 1.02 GB, free: 8.062 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.755e-05/0.3211, allocations: 12.83 kB / 1.02 GB, free: 8.051 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.3213, allocations: 168.4 kB / 1.021 GB, free: 7.848 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.3213, allocations: 384 / 1.021 GB, free: 7.848 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.553e-05/0.3213, allocations: 384 / 1.021 GB, free: 7.848 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002311/0.3215, allocations: 54.17 kB / 1.021 GB, free: 7.789 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.3215, allocations: 192 / 1.021 GB, free: 7.789 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.3216, allocations: 7.875 kB / 1.021 GB, free: 7.781 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.3216, allocations: 0 / 1.021 GB, free: 7.781 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000172/0.3218, allocations: 35.97 kB / 1.021 GB, free: 7.746 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003536/0.3221, allocations: 248.9 kB / 1.021 GB, free: 7.453 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.3223, allocations: 40.03 kB / 1.021 GB, free: 7.406 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.395e-05/0.3224, allocations: 24.84 kB / 1.021 GB, free: 7.379 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007221/0.3231, allocations: 461.5 kB / 1.021 GB, free: 6.836 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.3231, allocations: 30.56 kB / 1.021 GB, free: 6.797 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.303e-06/0.3231, allocations: 0 / 1.021 GB, free: 6.797 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0003694/0.3235, allocations: 85.64 kB / 1.022 GB, free: 6.707 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.3235, allocations: 51.41 kB / 1.022 GB, free: 6.645 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.934e-05/0.3236, allocations: 101.8 kB / 1.022 GB, free: 6.535 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.3237, allocations: 25.7 kB / 1.022 GB, free: 6.504 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.498e-05/0.3237, allocations: 88.05 kB / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/0.3237, allocations: 7.984 kB / 1.022 GB, free: 6.406 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/0.3238, allocations: 13.78 kB / 1.022 GB, free: 6.387 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.3239, allocations: 322.8 kB / 1.022 GB, free: 6.062 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.35e-05/0.324, allocations: 15.98 kB / 1.022 GB, free: 6.047 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.248e-05/0.324, allocations: 11.98 kB / 1.022 GB, free: 6.035 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.3242, allocations: 36.83 kB / 1.022 GB, free: 5.996 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3242, allocations: 4.062 kB / 1.022 GB, free: 5.992 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002003/0.3244, allocations: 77.5 kB / 1.022 GB, free: 5.91 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.3244, allocations: 4 kB / 1.022 GB, free: 5.906 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.3245, allocations: 0 / 1.022 GB, free: 5.906 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.3245, allocations: 0 / 1.022 GB, free: 5.906 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.736e-05/0.3246, allocations: 11.98 kB / 1.022 GB, free: 5.895 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.3246, allocations: 3.938 kB / 1.022 GB, free: 5.891 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.652e-05/0.3246, allocations: 7.984 kB / 1.022 GB, free: 5.883 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.3246, allocations: 4.031 kB / 1.022 GB, free: 5.879 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.245e-05/0.3247, allocations: 109.8 kB / 1.022 GB, free: 5.762 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.3248, allocations: 4 kB / 1.022 GB, free: 5.758 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002267/0.325, allocations: 68.78 kB / 1.022 GB, free: 5.684 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.325, allocations: 0 / 1.022 GB, free: 5.684 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.325, allocations: 0 / 1.022 GB, free: 5.684 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.325, allocations: 0 / 1.022 GB, free: 5.684 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001576/0.3252, allocations: 169.6 kB / 1.023 GB, free: 5.469 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3252, allocations: 0 / 1.023 GB, free: 5.469 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.539e-05/0.3252, allocations: 8 kB / 1.023 GB, free: 5.461 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.3253, allocations: 0 / 1.023 GB, free: 5.461 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.904e-06/0.3253, allocations: 7.922 kB / 1.023 GB, free: 5.453 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.3253, allocations: 4 kB / 1.023 GB, free: 5.449 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3253, allocations: 4.125 kB / 1.023 GB, free: 5.445 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002343/0.3255, allocations: 171.4 kB / 1.023 GB, free: 5.262 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.395e-05/0.3256, allocations: 88.94 kB / 1.023 GB, free: 5.156 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.3256, allocations: 0 / 1.023 GB, free: 5.156 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.206e-05/0.3257, allocations: 4 kB / 1.023 GB, free: 5.152 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.789e-05/0.3257, allocations: 3.984 kB / 1.023 GB, free: 5.148 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-06/0.3257, allocations: 0 / 1.023 GB, free: 5.148 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.161e-05/0.3258, allocations: 83.28 kB / 1.023 GB, free: 5.066 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3258, allocations: 0 / 1.023 GB, free: 5.066 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002618/0.3261, allocations: 32.03 kB / 1.023 GB, free: 5.035 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.0002762/0.3263, allocations: 135.2 kB / 1.023 GB, free: 4.895 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002279/0.3266, allocations: 43.91 kB / 1.023 GB, free: 4.852 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3266, allocations: 0 / 1.023 GB, free: 4.852 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 8.38e-05/0.3267, allocations: 19.98 kB / 1.023 GB, free: 4.832 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002377/0.3269, allocations: 7.922 kB / 1.023 GB, free: 4.824 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000314/0.3272, allocations: 123.8 kB / 1.023 GB, free: 4.672 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002349/0.3275, allocations: 0.6769 MB / 1.024 GB, free: 3.969 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.326e-05/0.3275, allocations: 7.438 kB / 1.024 GB, free: 3.961 MB / 0.795 GB Notification: Performance of SimCode: time 3e-07/0.3275, allocations: 0 / 1.024 GB, free: 3.961 MB / 0.795 GB Notification: Performance of Templates: time 0.002833/0.3304, allocations: 0.9776 MB / 1.025 GB, free: 2.98 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 -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