Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) 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.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y0",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008148/0.008148, allocations: 101.1 kB / 15.88 MB, free: 6.328 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.002204/0.002204, allocations: 197.1 kB / 16.79 MB, free: 6.254 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.48/1.48, allocations: 222.9 MB / 240.5 MB, free: 4.438 MB / 190.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.607/2.607, allocations: 437 MB / 0.7106 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 63.91 kB / 0.8692 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6186/0.62, allocations: 151.6 MB / 1.017 GB, free: 2.824 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.001981/0.6221, allocations: 0.6511 MB / 1.018 GB, free: 2.172 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007586/0.6228, allocations: 303 kB / 1.018 GB, free: 1.875 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.344e-05/0.6229, allocations: 0 / 1.018 GB, free: 1.875 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.932e-05/0.6229, allocations: 4 kB / 1.018 GB, free: 1.871 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.122e-06/0.623, allocations: 0 / 1.018 GB, free: 1.871 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004844/0.6234, allocations: 71.86 kB / 1.018 GB, free: 1.801 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.857e-05/0.6235, allocations: 0 / 1.018 GB, free: 1.801 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.448e-05/0.6235, allocations: 0 / 1.018 GB, free: 1.801 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.486e-05/0.6236, allocations: 4 kB / 1.018 GB, free: 1.797 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.105e-05/0.6236, allocations: 0 / 1.018 GB, free: 1.797 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 8.085e-06/0.6236, allocations: 4 kB / 1.018 GB, free: 1.793 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002927/0.6239, allocations: 131.7 kB / 1.018 GB, free: 1.664 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 9.077e-06/0.6239, allocations: 0 / 1.018 GB, free: 1.664 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.778e-05/0.6239, allocations: 4 kB / 1.018 GB, free: 1.66 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.6241, allocations: 43.92 kB / 1.018 GB, free: 1.617 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.6241, allocations: 3.938 kB / 1.018 GB, free: 1.613 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.11e-07/0.6241, allocations: 0 / 1.018 GB, free: 1.613 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.6241, allocations: 4 kB / 1.018 GB, free: 1.609 MB / 0.7637 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.0003351/0.6245, allocations: 327.6 kB / 1.019 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.6245, allocations: 12.03 kB / 1.019 GB, free: 1.227 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.598e-05/0.6245, allocations: 4.922 kB / 1.019 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.161e-05/0.6246, allocations: 160.4 kB / 1.019 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.6247, allocations: 384 / 1.019 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.544e-06/0.6247, allocations: 384 / 1.019 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.883e-05/0.6248, allocations: 26.27 kB / 1.019 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.6248, allocations: 4.188 kB / 1.019 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.6248, allocations: 11.94 kB / 1.019 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.6248, allocations: 0 / 1.019 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.292e-05/0.6249, allocations: 0 / 1.019 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001777/0.625, allocations: 149.7 kB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 4.615e-05/0.6251, allocations: 22.55 kB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.718e-05/0.6251, allocations: 8.797 kB / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007891/0.6259, allocations: 457.5 kB / 1.02 GB, free: 208 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.626, allocations: 38.55 kB / 1.02 GB, free: 160 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.626, allocations: 0 / 1.02 GB, free: 160 kB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001464/0.6261, allocations: 41.48 kB / 1.02 GB, free: 112 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/0.6262, allocations: 51.41 kB / 1.02 GB, free: 48 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.946e-05/0.6262, allocations: 93.98 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.6262, allocations: 25.7 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.621e-05/0.6263, allocations: 80.14 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.438e-05/0.6263, allocations: 4 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.99e-05/0.6264, allocations: 13.72 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.6265, allocations: 314.8 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.107e-05/0.6265, allocations: 0 / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.849e-06/0.6265, allocations: 4 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.703e-05/0.6265, allocations: 8.922 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.6265, allocations: 0 / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.729e-05/0.6266, allocations: 41.64 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.6266, allocations: 4 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.6266, allocations: 0 / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.6267, allocations: 3.938 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.716e-05/0.6267, allocations: 4 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.6267, allocations: 3.938 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.223e-05/0.6267, allocations: 3.984 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.6268, allocations: 4.031 kB / 1.02 GB, free: 15.41 MB / 0.7794 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 6.669e-05/0.6268, allocations: 106.4 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.444e-06/0.6268, allocations: 0 / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.752e-05/0.6269, allocations: 36.77 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.6269, allocations: 4 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.627, allocations: 0 / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.627, allocations: 0 / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.965e-05/0.6271, allocations: 153.6 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.6271, allocations: 32 / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.528e-05/0.6271, allocations: 8 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.093e-06/0.6271, allocations: 0 / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.6271, allocations: 3.938 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.6271, allocations: 3.984 kB / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.6271, allocations: 0 / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.389e-05/0.6272, allocations: 61.12 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.306e-05/0.6273, allocations: 81.11 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.6273, allocations: 11.97 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.514e-06/0.6273, allocations: 0 / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.386e-05/0.6273, allocations: 3.984 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.696e-06/0.6273, allocations: 3.938 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.036e-05/0.6273, allocations: 75.28 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6274, allocations: 0 / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002472/0.6276, allocations: 31.98 kB / 1.021 GB, free: 14.73 MB / 0.7794 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.0002799/0.6279, allocations: 143.2 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.451e-05/0.628, allocations: 4 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.628, allocations: 0 / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.363e-06/0.628, allocations: 4 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001347/0.6281, allocations: 1.25 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002042/0.6283, allocations: 116.4 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000223/0.6286, allocations: 0.6692 MB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.569e-05/0.6286, allocations: 7.438 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of SimCode: time 4.61e-07/0.6286, allocations: 0 / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of Templates: time 0.00227/0.6309, allocations: 0.7456 MB / 1.023 GB, free: 12.98 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_BesselY0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches