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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.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.005963/0.005963, allocations: 99.58 kB / 15.73 MB, free: 6.02 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.001932/0.001932, allocations: 192.3 kB / 16.67 MB, free: 5.938 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.462/1.462, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.816/2.816, allocations: 472.6 MB / 0.7453 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 75.78 kB / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3155, allocations: 159.9 MB / 1.226 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.002583/0.3181, allocations: 1.438 MB / 1.227 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0006546/0.3188, allocations: 366.7 kB / 1.227 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.722e-05/0.3188, allocations: 0 / 1.227 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.943e-05/0.3189, allocations: 4 kB / 1.227 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.12e-05/0.3189, allocations: 3.938 kB / 1.227 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004821/0.3194, allocations: 103.7 kB / 1.227 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.232e-05/0.3195, allocations: 19.94 kB / 1.227 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.401e-05/0.3196, allocations: 11.97 kB / 1.227 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.373e-05/0.3196, allocations: 11.94 kB / 1.227 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.513e-05/0.3197, allocations: 11.98 kB / 1.228 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.3197, allocations: 0 / 1.228 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002421/0.3199, allocations: 127.8 kB / 1.228 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.435e-05/0.3199, allocations: 11.94 kB / 1.228 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.25e-05/0.32, allocations: 4 kB / 1.228 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002056/0.3202, allocations: 91.67 kB / 1.228 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.3202, allocations: 4 kB / 1.228 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3202, allocations: 0 / 1.228 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.189e-05/0.3202, allocations: 0 / 1.228 GB, free: 6.961 MB / 0.9825 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.0004806/0.3207, allocations: 353 kB / 1.228 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.3207, allocations: 12.03 kB / 1.228 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.875e-05/0.3208, allocations: 4.891 kB / 1.228 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.864e-05/0.3209, allocations: 168.4 kB / 1.228 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-06/0.3209, allocations: 4.375 kB / 1.228 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.3209, allocations: 384 / 1.228 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.3211, allocations: 54.17 kB / 1.228 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.3211, allocations: 192 / 1.228 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.23e-05/0.3211, allocations: 7.875 kB / 1.228 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.3211, allocations: 0 / 1.228 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001592/0.3213, allocations: 31.97 kB / 1.228 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002843/0.3216, allocations: 253 kB / 1.229 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.3217, allocations: 38.5 kB / 1.229 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.096e-05/0.3218, allocations: 24.89 kB / 1.229 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006779/0.3225, allocations: 477.4 kB / 1.229 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.3225, allocations: 38.5 kB / 1.229 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.3225, allocations: 0 / 1.229 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003313/0.3229, allocations: 81.64 kB / 1.229 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/0.3229, allocations: 51.41 kB / 1.229 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.355e-05/0.323, allocations: 97.86 kB / 1.229 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.323, allocations: 25.7 kB / 1.229 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.937e-05/0.3231, allocations: 92.08 kB / 1.229 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.809e-05/0.3231, allocations: 7.953 kB / 1.229 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.164e-05/0.3231, allocations: 21.78 kB / 1.229 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.3233, allocations: 310.8 kB / 1.23 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.936e-05/0.3234, allocations: 15.98 kB / 1.23 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7e-05/0.3234, allocations: 19.91 kB / 1.23 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.3236, allocations: 36.83 kB / 1.23 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.3236, allocations: 4.062 kB / 1.23 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001896/0.3238, allocations: 77.59 kB / 1.23 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.3238, allocations: 4 kB / 1.23 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.758e-06/0.3238, allocations: 0 / 1.23 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.3238, allocations: 0 / 1.23 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.954e-05/0.3239, allocations: 11.98 kB / 1.23 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.3239, allocations: 0 / 1.23 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.645e-05/0.324, allocations: 11.97 kB / 1.23 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.259e-06/0.324, allocations: 0 / 1.23 GB, free: 4.355 MB / 0.9825 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.234e-05/0.3241, allocations: 118.3 kB / 1.23 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.219e-05/0.3241, allocations: 3.938 kB / 1.23 GB, free: 4.227 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002159/0.3243, allocations: 68.78 kB / 1.23 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3243, allocations: 0 / 1.23 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.3243, allocations: 4 kB / 1.23 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.3243, allocations: 7.969 kB / 1.23 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.3245, allocations: 157.6 kB / 1.23 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3245, allocations: 0 / 1.23 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.376e-05/0.3246, allocations: 7.984 kB / 1.23 GB, free: 3.93 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3246, allocations: 0 / 1.23 GB, free: 3.93 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.3246, allocations: 4 kB / 1.23 GB, free: 3.926 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3246, allocations: 0 / 1.23 GB, free: 3.926 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3246, allocations: 0 / 1.23 GB, free: 3.926 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002334/0.3248, allocations: 175.3 kB / 1.23 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.057e-05/0.3249, allocations: 77.11 kB / 1.231 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.3249, allocations: 3.984 kB / 1.231 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.418e-05/0.325, allocations: 4 kB / 1.231 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.749e-05/0.325, allocations: 0 / 1.231 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.325, allocations: 7.984 kB / 1.231 GB, free: 3.629 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.314e-05/0.3251, allocations: 79.28 kB / 1.231 GB, free: 3.551 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3251, allocations: 4.031 kB / 1.231 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002671/0.3253, allocations: 27.94 kB / 1.231 GB, free: 3.52 MB / 0.9825 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.0002707/0.3256, allocations: 131.2 kB / 1.231 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002031/0.3258, allocations: 39.95 kB / 1.231 GB, free: 3.34 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.3258, allocations: 0 / 1.231 GB, free: 3.34 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.356e-05/0.3259, allocations: 23.92 kB / 1.231 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002288/0.3262, allocations: 9.75 kB / 1.231 GB, free: 3.309 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002857/0.3265, allocations: 105.5 kB / 1.231 GB, free: 3.18 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/0.3267, allocations: 0.6807 MB / 1.232 GB, free: 2.473 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.987e-05/0.3268, allocations: 4 kB / 1.232 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.407e-05/0.3268, allocations: 11.44 kB / 1.232 GB, free: 2.457 MB / 0.9825 GB Notification: Performance of SimCode: time 6.41e-07/0.3268, allocations: 0 / 1.232 GB, free: 2.457 MB / 0.9825 GB Notification: Performance of Templates: time 0.002839/0.3297, allocations: 0.8947 MB / 1.233 GB, free: 1.562 MB / 0.9825 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches