Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.BesselY1.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.BesselY1") translateModel(Buildings.Utilities.Math.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.BesselY1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 109.3 kB / 15.99 MB, free: 6.359 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.001309/0.001309, allocations: 194.5 kB / 16.91 MB, free: 6.195 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.374/1.374, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.732/2.732, allocations: 469.8 MB / 0.7427 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 66.64 kB / 0.9087 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.3427, allocations: 159.1 MB / 1.064 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.002838/0.3456, allocations: 1.499 MB / 1.066 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0007385/0.3463, allocations: 342.9 kB / 1.066 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.372e-05/0.3464, allocations: 0 / 1.066 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.21e-05/0.3464, allocations: 0 / 1.066 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.552e-05/0.3465, allocations: 7.938 kB / 1.066 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004489/0.3469, allocations: 99.83 kB / 1.066 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.794e-05/0.347, allocations: 23.92 kB / 1.066 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 7.431e-05/0.3471, allocations: 4 kB / 1.066 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.214e-05/0.3471, allocations: 11.94 kB / 1.066 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.444e-05/0.3472, allocations: 7.984 kB / 1.066 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 8.286e-06/0.3472, allocations: 0 / 1.066 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002507/0.3474, allocations: 147.7 kB / 1.066 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.303e-05/0.3475, allocations: 7.922 kB / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.476e-05/0.3475, allocations: 19.92 kB / 1.066 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.00013/0.3476, allocations: 55.91 kB / 1.066 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3476, allocations: 0 / 1.066 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.146e-06/0.3476, allocations: 0 / 1.066 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.3477, allocations: 3.938 kB / 1.066 GB, free: 12.9 MB / 0.8419 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.0005266/0.3482, allocations: 351.8 kB / 1.067 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.3482, allocations: 8.031 kB / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.035e-05/0.3483, allocations: 8.781 kB / 1.067 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.3484, allocations: 168.4 kB / 1.067 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.3484, allocations: 4.375 kB / 1.067 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.3485, allocations: 384 / 1.067 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.3486, allocations: 50.23 kB / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.3487, allocations: 192 / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.3487, allocations: 3.938 kB / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.3487, allocations: 0 / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001647/0.3488, allocations: 35.95 kB / 1.067 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003664/0.3492, allocations: 248.9 kB / 1.067 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001387/0.3494, allocations: 42.48 kB / 1.067 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.147e-05/0.3495, allocations: 24.91 kB / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008015/0.3503, allocations: 469.5 kB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.3503, allocations: 34.56 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.3503, allocations: 0 / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0003735/0.3507, allocations: 85.58 kB / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.3508, allocations: 51.41 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.544e-05/0.3509, allocations: 105.8 kB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.3509, allocations: 25.7 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.58e-05/0.3509, allocations: 84.05 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.581e-05/0.351, allocations: 4 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.178e-05/0.351, allocations: 13.84 kB / 1.068 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.3511, allocations: 318.8 kB / 1.068 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.871e-05/0.3512, allocations: 15.98 kB / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.203e-05/0.3513, allocations: 15.98 kB / 1.068 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.3515, allocations: 36.77 kB / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3515, allocations: 4.062 kB / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001966/0.3517, allocations: 81.44 kB / 1.068 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.3517, allocations: 4 kB / 1.068 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.3517, allocations: 0 / 1.068 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.3517, allocations: 4 kB / 1.068 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.833e-05/0.3518, allocations: 7.984 kB / 1.069 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.3518, allocations: 0 / 1.069 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.655e-05/0.3519, allocations: 7.984 kB / 1.069 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.3519, allocations: 4.031 kB / 1.069 GB, free: 10.31 MB / 0.8419 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 9.076e-05/0.352, allocations: 113.8 kB / 1.069 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.197e-05/0.352, allocations: 0 / 1.069 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002263/0.3522, allocations: 76.72 kB / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.3523, allocations: 0 / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3523, allocations: 0 / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.3523, allocations: 0 / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.3525, allocations: 165.6 kB / 1.069 GB, free: 9.898 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.3525, allocations: 3.938 kB / 1.069 GB, free: 9.895 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.66e-05/0.3525, allocations: 8 kB / 1.069 GB, free: 9.887 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3525, allocations: 192 / 1.069 GB, free: 9.887 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.3525, allocations: 3.984 kB / 1.069 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.3526, allocations: 4 kB / 1.069 GB, free: 9.879 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3526, allocations: 0 / 1.069 GB, free: 9.879 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000255/0.3528, allocations: 171.4 kB / 1.069 GB, free: 9.695 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.931e-05/0.3529, allocations: 84.95 kB / 1.069 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.3529, allocations: 0 / 1.069 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.366e-05/0.353, allocations: 7.938 kB / 1.069 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.073e-05/0.353, allocations: 7.984 kB / 1.069 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.353, allocations: 0 / 1.069 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.299e-05/0.3531, allocations: 83.28 kB / 1.069 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.3531, allocations: 0 / 1.069 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002589/0.3534, allocations: 32.03 kB / 1.069 GB, free: 9.465 MB / 0.8419 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.0002645/0.3536, allocations: 135.2 kB / 1.069 GB, free: 9.32 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002185/0.3539, allocations: 35.97 kB / 1.069 GB, free: 9.285 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3539, allocations: 3.938 kB / 1.069 GB, free: 9.281 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.581e-05/0.354, allocations: 23.97 kB / 1.069 GB, free: 9.258 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002343/0.3542, allocations: 10.19 kB / 1.069 GB, free: 9.25 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002738/0.3545, allocations: 135.2 kB / 1.07 GB, free: 9.086 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.3548, allocations: 0.6768 MB / 1.07 GB, free: 8.383 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.224e-05/0.3549, allocations: 7.438 kB / 1.07 GB, free: 8.379 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.3549, allocations: 0 / 1.07 GB, free: 8.379 MB / 0.8419 GB Notification: Performance of Templates: time 0.00271/0.3576, allocations: 0.9857 MB / 1.071 GB, free: 7.395 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.BesselY1.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BesselY1.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.BesselY1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_BesselY1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches