Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1") translateModel(Buildings.Utilities.Math.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1.y",fileNamePrefix="Buildings_latest_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.001482/0.001482, allocations: 107 kB / 15.99 MB, free: 5.895 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.00145/0.00145, allocations: 191.6 kB / 16.91 MB, free: 5.746 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.355/1.355, allocations: 222.9 MB / 240.6 MB, free: 13.67 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.647/2.647, allocations: 469.4 MB / 0.7423 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 63.75 kB / 0.9083 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3307, allocations: 159.1 MB / 1.064 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.003008/0.3337, allocations: 1.495 MB / 1.065 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0007111/0.3344, allocations: 354.9 kB / 1.066 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.946e-05/0.3345, allocations: 0 / 1.066 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.44e-05/0.3345, allocations: 0 / 1.066 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.625e-05/0.3346, allocations: 3.938 kB / 1.066 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005059/0.3351, allocations: 91.86 kB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.214e-05/0.3352, allocations: 23.91 kB / 1.066 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.392e-05/0.3353, allocations: 8 kB / 1.066 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.813e-05/0.3354, allocations: 11.92 kB / 1.066 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.899e-05/0.3354, allocations: 12 kB / 1.066 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.648e-06/0.3354, allocations: 0 / 1.066 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002589/0.3357, allocations: 147.7 kB / 1.066 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.339e-05/0.3357, allocations: 7.938 kB / 1.066 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.351e-05/0.3357, allocations: 11.88 kB / 1.066 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001416/0.3359, allocations: 59.89 kB / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3359, allocations: 0 / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.074e-06/0.3359, allocations: 0 / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.3359, allocations: 0 / 1.066 GB, free: 13.11 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.0004767/0.3364, allocations: 355.7 kB / 1.066 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.3364, allocations: 8.625 kB / 1.066 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.806e-05/0.3365, allocations: 4.844 kB / 1.066 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.3366, allocations: 168.4 kB / 1.066 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.3366, allocations: 4.359 kB / 1.066 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.877e-06/0.3366, allocations: 384 / 1.066 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.3368, allocations: 46.25 kB / 1.066 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.3368, allocations: 192 / 1.066 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.3369, allocations: 7.922 kB / 1.066 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.3369, allocations: 11.98 kB / 1.066 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001628/0.337, allocations: 35.91 kB / 1.066 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003185/0.3374, allocations: 241 kB / 1.067 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001313/0.3375, allocations: 42.48 kB / 1.067 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.709e-05/0.3376, allocations: 24.91 kB / 1.067 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007669/0.3384, allocations: 469.5 kB / 1.067 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.3384, allocations: 38.55 kB / 1.067 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.3384, allocations: 0 / 1.067 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0003613/0.3388, allocations: 81.59 kB / 1.067 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.3388, allocations: 55.39 kB / 1.067 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.689e-05/0.3389, allocations: 97.86 kB / 1.067 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.3389, allocations: 29.83 kB / 1.068 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.76e-05/0.339, allocations: 88.05 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.528e-05/0.339, allocations: 0 / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/0.339, allocations: 21.7 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.078e-05/0.3391, allocations: 310.8 kB / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.441e-05/0.3392, allocations: 15.98 kB / 1.068 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.976e-05/0.3393, allocations: 15.98 kB / 1.068 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.3395, allocations: 48.75 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.3395, allocations: 0 / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001927/0.3397, allocations: 69.52 kB / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.3397, allocations: 7.984 kB / 1.068 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.3397, allocations: 0 / 1.068 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.3397, allocations: 4 kB / 1.068 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.072e-05/0.3398, allocations: 8.031 kB / 1.068 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.3398, allocations: 0 / 1.068 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.813e-05/0.3399, allocations: 11.98 kB / 1.068 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.3399, allocations: 0 / 1.068 GB, free: 10.52 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 7.265e-05/0.34, allocations: 113.8 kB / 1.068 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.291e-05/0.34, allocations: 0 / 1.068 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002276/0.3402, allocations: 76.72 kB / 1.068 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.3403, allocations: 7.984 kB / 1.068 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.3403, allocations: 0 / 1.068 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3403, allocations: 3.938 kB / 1.068 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001499/0.3404, allocations: 161.6 kB / 1.068 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.3404, allocations: 0 / 1.068 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.774e-05/0.3405, allocations: 7.984 kB / 1.068 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.3405, allocations: 4 kB / 1.068 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.3405, allocations: 0 / 1.068 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.3405, allocations: 0 / 1.068 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3405, allocations: 4.031 kB / 1.068 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002339/0.3408, allocations: 167.4 kB / 1.069 GB, free: 9.898 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.452e-05/0.3408, allocations: 84.95 kB / 1.069 GB, free: 9.797 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.3408, allocations: 4 kB / 1.069 GB, free: 9.793 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.626e-05/0.3409, allocations: 7.984 kB / 1.069 GB, free: 9.785 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.544e-05/0.341, allocations: 8.031 kB / 1.069 GB, free: 9.777 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.341, allocations: 0 / 1.069 GB, free: 9.777 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.964e-05/0.341, allocations: 83.27 kB / 1.069 GB, free: 9.695 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.341, allocations: 0 / 1.069 GB, free: 9.695 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002676/0.3413, allocations: 32 kB / 1.069 GB, free: 9.664 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.0002817/0.3416, allocations: 135.5 kB / 1.069 GB, free: 9.52 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002178/0.3418, allocations: 35.95 kB / 1.069 GB, free: 9.484 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3418, allocations: 3.938 kB / 1.069 GB, free: 9.48 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.548e-05/0.3419, allocations: 23.92 kB / 1.069 GB, free: 9.457 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002387/0.3421, allocations: 12 kB / 1.069 GB, free: 9.445 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002755/0.3424, allocations: 131.2 kB / 1.069 GB, free: 9.285 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002349/0.3427, allocations: 0.6768 MB / 1.07 GB, free: 8.582 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.72e-05/0.3427, allocations: 11.44 kB / 1.07 GB, free: 8.574 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.3427, allocations: 0 / 1.07 GB, free: 8.574 MB / 0.8419 GB Notification: Performance of Templates: time 0.002636/0.3454, allocations: 0.9908 MB / 1.071 GB, free: 7.586 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselY1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches