Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001445/0.001445, allocations: 101.5 kB / 16.35 MB, free: 5.875 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.001428/0.001428, allocations: 199.3 kB / 17.3 MB, free: 5.516 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.33/1.33, allocations: 222.9 MB / 241 MB, free: 14.97 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.541/2.541, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 71.91 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3061, allocations: 153 MB / 1.027 GB, free: 2.039 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.001925/0.3081, allocations: 0.5861 MB / 1.027 GB, free: 1.449 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0006025/0.3087, allocations: 293.3 kB / 1.028 GB, free: 1.164 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.249e-05/0.3087, allocations: 0 / 1.028 GB, free: 1.164 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.102e-05/0.3087, allocations: 0 / 1.028 GB, free: 1.164 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.019e-06/0.3088, allocations: 0 / 1.028 GB, free: 1.164 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004847/0.3093, allocations: 99.72 kB / 1.028 GB, free: 1.066 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 3.789e-05/0.3093, allocations: 3.984 kB / 1.028 GB, free: 1.062 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.924e-05/0.3094, allocations: 0 / 1.028 GB, free: 1.062 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.563e-05/0.3094, allocations: 4 kB / 1.028 GB, free: 1.059 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 1.871e-05/0.3094, allocations: 3.984 kB / 1.028 GB, free: 1.055 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 6.031e-06/0.3094, allocations: 0 / 1.028 GB, free: 1.055 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00024/0.3097, allocations: 119.8 kB / 1.028 GB, free: 0.9375 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.875e-06/0.3097, allocations: 0 / 1.028 GB, free: 0.9375 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.637e-05/0.3097, allocations: 3.984 kB / 1.028 GB, free: 0.9336 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.3099, allocations: 67.89 kB / 1.028 GB, free: 0.8672 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.3099, allocations: 4 kB / 1.028 GB, free: 0.8633 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.076e-06/0.3099, allocations: 3.938 kB / 1.028 GB, free: 0.8594 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.3099, allocations: 3.938 kB / 1.028 GB, free: 0.8555 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003002/0.3102, allocations: 327.6 kB / 1.028 GB, free: 496 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.3103, allocations: 8.031 kB / 1.028 GB, free: 488 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.625e-05/0.3103, allocations: 0.9375 kB / 1.028 GB, free: 488 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.239e-05/0.3104, allocations: 160.4 kB / 1.028 GB, free: 288 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.3104, allocations: 384 / 1.028 GB, free: 288 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-06/0.3104, allocations: 384 / 1.028 GB, free: 288 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.8e-05/0.3105, allocations: 42.2 kB / 1.028 GB, free: 240 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.3105, allocations: 192 / 1.028 GB, free: 240 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.3105, allocations: 3.938 kB / 1.028 GB, free: 236 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.3105, allocations: 0 / 1.028 GB, free: 236 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.219e-05/0.3106, allocations: 7.984 kB / 1.028 GB, free: 228 kB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000131/0.3107, allocations: 141.7 kB / 1.029 GB, free: 36 kB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 3.044e-05/0.3107, allocations: 14.58 kB / 1.029 GB, free: 12 kB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.382e-05/0.3108, allocations: 12.95 kB / 1.029 GB, free: 16 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006943/0.3115, allocations: 457.5 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.3115, allocations: 34.5 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.3115, allocations: 0 / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001263/0.3117, allocations: 41.64 kB / 1.029 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/0.3117, allocations: 51.41 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.754e-05/0.3117, allocations: 93.86 kB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.949e-06/0.3118, allocations: 25.7 kB / 1.029 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.255e-05/0.3118, allocations: 80.14 kB / 1.029 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/0.3118, allocations: 0 / 1.029 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.722e-05/0.3118, allocations: 13.7 kB / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.312, allocations: 314.8 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.066e-05/0.312, allocations: 4.125 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.915e-06/0.312, allocations: 4 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.572e-05/0.312, allocations: 12.8 kB / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.312, allocations: 0 / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.165e-05/0.3121, allocations: 29.7 kB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.3121, allocations: 4 kB / 1.03 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.3121, allocations: 0 / 1.03 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.3121, allocations: 11.92 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.722e-05/0.3122, allocations: 3.938 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.3122, allocations: 4.094 kB / 1.03 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.709e-06/0.3122, allocations: 0 / 1.03 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.3122, allocations: 0 / 1.03 GB, free: 14.67 MB / 0.8106 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.175e-05/0.3123, allocations: 113.8 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.324e-06/0.3123, allocations: 0 / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.174e-05/0.3124, allocations: 48.69 kB / 1.03 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.3124, allocations: 3.938 kB / 1.03 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.3124, allocations: 0 / 1.03 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.3124, allocations: 8.031 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.478e-05/0.3125, allocations: 145.7 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3125, allocations: 0 / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.284e-05/0.3125, allocations: 0 / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3125, allocations: 0 / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.3126, allocations: 7.922 kB / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.3126, allocations: 3.984 kB / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3126, allocations: 4 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.489e-05/0.3126, allocations: 64.98 kB / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.967e-05/0.3127, allocations: 77.11 kB / 1.03 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.009e-05/0.3127, allocations: 3.938 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.184e-06/0.3127, allocations: 0 / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.556e-05/0.3127, allocations: 7.984 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-06/0.3127, allocations: 0 / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.793e-05/0.3128, allocations: 75.28 kB / 1.03 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3128, allocations: 0 / 1.03 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002144/0.313, allocations: 24 kB / 1.03 GB, free: 13.99 MB / 0.8106 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.000243/0.3132, allocations: 143.2 kB / 1.03 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.447e-05/0.3133, allocations: 4 kB / 1.03 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.3133, allocations: 4.062 kB / 1.03 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.292e-05/0.3133, allocations: 3.938 kB / 1.03 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.3135, allocations: 8.031 kB / 1.03 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001884/0.3137, allocations: 77.06 kB / 1.03 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002101/0.3139, allocations: 0.669 MB / 1.031 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.193e-05/0.3139, allocations: 0 / 1.031 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.531e-05/0.3139, allocations: 19.38 kB / 1.031 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of SimCode: time 2e-07/0.3139, allocations: 0 / 1.031 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of Templates: time 0.002836/0.3168, allocations: 0.629 MB / 1.032 GB, free: 12.38 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselY0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches