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.00182/0.00182, allocations: 104.2 kB / 16.27 MB, free: 6.418 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.001945/0.001945, allocations: 190.1 kB / 17.2 MB, free: 5.949 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.385/1.385, allocations: 222.9 MB / 240.9 MB, free: 15.23 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.565/2.565, allocations: 437.1 MB / 0.7111 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 71.53 kB / 0.8699 GB, free: 2.156 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3213, allocations: 151.6 MB / 1.018 GB, free: 10.59 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.002667/0.324, allocations: 1.433 MB / 1.019 GB, free: 9.148 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0006796/0.3248, allocations: 347.6 kB / 1.02 GB, free: 8.805 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.342e-05/0.3248, allocations: 0 / 1.02 GB, free: 8.805 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.909e-05/0.3248, allocations: 3.938 kB / 1.02 GB, free: 8.801 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.369e-05/0.3249, allocations: 0 / 1.02 GB, free: 8.801 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004219/0.3253, allocations: 103.6 kB / 1.02 GB, free: 8.699 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.003e-05/0.3254, allocations: 23.92 kB / 1.02 GB, free: 8.676 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.251e-05/0.3255, allocations: 8 kB / 1.02 GB, free: 8.668 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.006e-05/0.3255, allocations: 11.92 kB / 1.02 GB, free: 8.656 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.095e-05/0.3256, allocations: 15.97 kB / 1.02 GB, free: 8.641 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.3256, allocations: 4 kB / 1.02 GB, free: 8.637 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002252/0.3258, allocations: 119.8 kB / 1.02 GB, free: 8.52 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 9.709e-06/0.3258, allocations: 0 / 1.02 GB, free: 8.52 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.566e-05/0.3259, allocations: 11.94 kB / 1.02 GB, free: 8.508 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001845/0.3261, allocations: 87.8 kB / 1.02 GB, free: 8.422 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3261, allocations: 0 / 1.02 GB, free: 8.422 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3261, allocations: 0 / 1.02 GB, free: 8.422 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.3261, allocations: 0 / 1.02 GB, free: 8.422 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.0005033/0.3266, allocations: 363.8 kB / 1.02 GB, free: 8.016 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.3266, allocations: 8.922 kB / 1.02 GB, free: 8.008 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.66e-05/0.3267, allocations: 8.844 kB / 1.02 GB, free: 8 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.3268, allocations: 160.4 kB / 1.021 GB, free: 7.805 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.3268, allocations: 384 / 1.021 GB, free: 7.805 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.737e-06/0.3268, allocations: 384 / 1.021 GB, free: 7.805 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.327, allocations: 54.17 kB / 1.021 GB, free: 7.746 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.445e-06/0.327, allocations: 192 / 1.021 GB, free: 7.746 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.3271, allocations: 3.938 kB / 1.021 GB, free: 7.742 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.3271, allocations: 8 kB / 1.021 GB, free: 7.734 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001777/0.3273, allocations: 31.95 kB / 1.021 GB, free: 7.703 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003401/0.3276, allocations: 245 kB / 1.021 GB, free: 7.414 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.3277, allocations: 44 kB / 1.021 GB, free: 7.363 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.306e-05/0.3278, allocations: 32.84 kB / 1.021 GB, free: 7.328 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007311/0.3286, allocations: 453.5 kB / 1.021 GB, free: 6.793 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/0.3286, allocations: 42.48 kB / 1.021 GB, free: 6.742 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.3286, allocations: 0 / 1.021 GB, free: 6.742 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0003585/0.329, allocations: 77.66 kB / 1.022 GB, free: 6.66 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.329, allocations: 51.41 kB / 1.022 GB, free: 6.598 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.897e-05/0.3291, allocations: 101.8 kB / 1.022 GB, free: 6.488 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.3292, allocations: 25.7 kB / 1.022 GB, free: 6.457 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.218e-05/0.3292, allocations: 92.11 kB / 1.022 GB, free: 6.363 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.366e-05/0.3292, allocations: 4 kB / 1.022 GB, free: 6.359 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.539e-05/0.3293, allocations: 17.7 kB / 1.022 GB, free: 6.336 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.3294, allocations: 314.8 kB / 1.022 GB, free: 6.02 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.7e-05/0.3295, allocations: 15.92 kB / 1.022 GB, free: 6.004 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.642e-05/0.3296, allocations: 19.98 kB / 1.022 GB, free: 5.984 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/0.3298, allocations: 40.88 kB / 1.022 GB, free: 5.941 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.3298, allocations: 0 / 1.022 GB, free: 5.941 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001963/0.33, allocations: 69.52 kB / 1.022 GB, free: 5.867 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.33, allocations: 4 kB / 1.022 GB, free: 5.863 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.33, allocations: 3.984 kB / 1.022 GB, free: 5.859 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.33, allocations: 4 kB / 1.022 GB, free: 5.855 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.546e-05/0.3301, allocations: 4 kB / 1.022 GB, free: 5.852 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.3301, allocations: 4.031 kB / 1.022 GB, free: 5.848 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.969e-05/0.3302, allocations: 11.92 kB / 1.022 GB, free: 5.836 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.3302, allocations: 0 / 1.022 GB, free: 5.836 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 8.14e-05/0.3303, allocations: 117.8 kB / 1.022 GB, free: 5.711 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.298e-05/0.3303, allocations: 0 / 1.022 GB, free: 5.711 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002232/0.3305, allocations: 64.78 kB / 1.022 GB, free: 5.641 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3306, allocations: 8.031 kB / 1.022 GB, free: 5.633 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.3306, allocations: 3.984 kB / 1.022 GB, free: 5.629 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3306, allocations: 0 / 1.022 GB, free: 5.629 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001715/0.3307, allocations: 157.6 kB / 1.023 GB, free: 5.426 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.3308, allocations: 4 kB / 1.023 GB, free: 5.422 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.789e-05/0.3308, allocations: 11.98 kB / 1.023 GB, free: 5.41 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3308, allocations: 0 / 1.023 GB, free: 5.41 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.551e-06/0.3308, allocations: 0 / 1.023 GB, free: 5.41 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.3308, allocations: 0 / 1.023 GB, free: 5.41 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.3308, allocations: 0 / 1.023 GB, free: 5.41 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002541/0.3311, allocations: 171.4 kB / 1.023 GB, free: 5.227 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.188e-05/0.3312, allocations: 88.89 kB / 1.023 GB, free: 5.121 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.3312, allocations: 0 / 1.023 GB, free: 5.121 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.661e-05/0.3313, allocations: 7.984 kB / 1.023 GB, free: 5.113 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.277e-05/0.3313, allocations: 4 kB / 1.023 GB, free: 5.109 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.3313, allocations: 0 / 1.023 GB, free: 5.109 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.685e-05/0.3314, allocations: 87.31 kB / 1.023 GB, free: 5.023 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3314, allocations: 0 / 1.023 GB, free: 5.023 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002568/0.3316, allocations: 31.98 kB / 1.023 GB, free: 4.992 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.0002581/0.3319, allocations: 135.8 kB / 1.023 GB, free: 4.852 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002188/0.3321, allocations: 43.89 kB / 1.023 GB, free: 4.809 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.3321, allocations: 0 / 1.023 GB, free: 4.809 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 8.722e-05/0.3322, allocations: 19.98 kB / 1.023 GB, free: 4.789 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.3325, allocations: 14.22 kB / 1.023 GB, free: 4.777 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002763/0.3328, allocations: 123.5 kB / 1.023 GB, free: 4.625 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.3331, allocations: 0.6768 MB / 1.024 GB, free: 3.922 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.665e-05/0.3331, allocations: 15.44 kB / 1.024 GB, free: 3.906 MB / 0.795 GB Notification: Performance of SimCode: time 2.5e-07/0.3331, allocations: 0 / 1.024 GB, free: 3.906 MB / 0.795 GB Notification: Performance of Templates: time 0.002734/0.3359, allocations: 0.9702 MB / 1.025 GB, free: 2.934 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=400 -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