Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002072/0.002072, allocations: 82.05 kB / 19.18 MB, free: 2.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002546/0.002546, allocations: 165.3 kB / 22.46 MB, free: 5.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.466/1.466, allocations: 177.1 MB / 202.8 MB, free: 9.203 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.894/2.894, allocations: 389 MB / 0.633 GB, free: 1.047 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 1 GB, free: 7.336 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.025e-05/2.157e-05, allocations: 6.219 kB / 1 GB, free: 7.328 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.002465/0.002487, allocations: 1.461 MB / 1.002 GB, free: 5.863 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0006792/0.003166, allocations: 326.8 kB / 1.002 GB, free: 5.543 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.347e-05/0.00319, allocations: 4 kB / 1.002 GB, free: 5.539 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.537e-05/0.003215, allocations: 0 / 1.002 GB, free: 5.539 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 3.396e-05/0.003249, allocations: 3.938 kB / 1.002 GB, free: 5.535 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004329/0.003682, allocations: 99.66 kB / 1.002 GB, free: 5.438 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 6.284e-05/0.003745, allocations: 19.92 kB / 1.002 GB, free: 5.418 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 7.252e-05/0.003817, allocations: 8 kB / 1.002 GB, free: 5.41 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.616e-05/0.003863, allocations: 15.92 kB / 1.002 GB, free: 5.395 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 3.145e-05/0.003895, allocations: 7.984 kB / 1.002 GB, free: 5.387 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.019e-05/0.003905, allocations: 4 kB / 1.002 GB, free: 5.383 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002233/0.004128, allocations: 119.8 kB / 1.002 GB, free: 5.266 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.415e-05/0.004142, allocations: 4 kB / 1.002 GB, free: 5.262 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.034e-05/0.004163, allocations: 7.984 kB / 1.002 GB, free: 5.254 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002123/0.004375, allocations: 107.7 kB / 1.002 GB, free: 5.148 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.004377, allocations: 0 / 1.002 GB, free: 5.148 MB / 0.9512 GB Notification: Performance of FrontEnd: time 6.31e-07/0.004378, allocations: 0 / 1.002 GB, free: 5.148 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.004386, allocations: 0 / 1.002 GB, free: 5.148 MB / 0.9512 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.0004533/0.004839, allocations: 282.1 kB / 1.003 GB, free: 4.84 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.004877, allocations: 12.03 kB / 1.003 GB, free: 4.828 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.803e-05/0.004905, allocations: 4.938 kB / 1.003 GB, free: 4.824 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.005039, allocations: 105.8 kB / 1.003 GB, free: 4.695 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.005052, allocations: 384 / 1.003 GB, free: 4.695 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.383e-05/0.005066, allocations: 384 / 1.003 GB, free: 4.695 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.00526, allocations: 54.17 kB / 1.003 GB, free: 4.637 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.005271, allocations: 192 / 1.003 GB, free: 4.637 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.005281, allocations: 384 / 1.003 GB, free: 4.637 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.005286, allocations: 384 / 1.003 GB, free: 4.637 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001899/0.005476, allocations: 43.83 kB / 1.003 GB, free: 4.594 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003424/0.005818, allocations: 192.6 kB / 1.003 GB, free: 4.375 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001539/0.005972, allocations: 38.5 kB / 1.003 GB, free: 4.328 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.006083, allocations: 20.89 kB / 1.003 GB, free: 4.305 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005404/0.006624, allocations: 79.92 kB / 1.003 GB, free: 4.227 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.006656, allocations: 30.56 kB / 1.003 GB, free: 4.188 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.006658, allocations: 0 / 1.003 GB, free: 4.188 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0004136/0.007071, allocations: 89.53 kB / 1.003 GB, free: 4.094 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.923e-05/0.00713, allocations: 51.41 kB / 1.003 GB, free: 4.031 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.007231, allocations: 101.8 kB / 1.003 GB, free: 3.922 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.007251, allocations: 25.7 kB / 1.003 GB, free: 3.891 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.353e-05/0.007314, allocations: 96.14 kB / 1.003 GB, free: 3.793 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-05/0.007332, allocations: 7.953 kB / 1.003 GB, free: 3.785 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.483e-05/0.007367, allocations: 13.72 kB / 1.003 GB, free: 3.766 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.007534, allocations: 318.8 kB / 1.004 GB, free: 3.445 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.32e-05/0.007628, allocations: 15.98 kB / 1.004 GB, free: 3.43 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.211e-05/0.00771, allocations: 15.98 kB / 1.004 GB, free: 3.414 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001635/0.007873, allocations: 36.89 kB / 1.004 GB, free: 3.375 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.007875, allocations: 0 / 1.004 GB, free: 3.375 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002254/0.0081, allocations: 69.66 kB / 1.004 GB, free: 3.301 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.008115, allocations: 6.031 kB / 1.004 GB, free: 3.297 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.008123, allocations: 7.938 kB / 1.004 GB, free: 3.289 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.008135, allocations: 0 / 1.004 GB, free: 3.289 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.484e-05/0.00822, allocations: 15.92 kB / 1.004 GB, free: 3.273 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.008224, allocations: 0 / 1.004 GB, free: 3.273 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.204e-05/0.008276, allocations: 12.02 kB / 1.004 GB, free: 3.262 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.008281, allocations: 0 / 1.004 GB, free: 3.262 MB / 0.9512 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 8.399e-05/0.008365, allocations: 110.4 kB / 1.004 GB, free: 3.145 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.44e-05/0.008389, allocations: 0 / 1.004 GB, free: 3.145 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002581/0.008647, allocations: 77.09 kB / 1.004 GB, free: 3.059 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.008651, allocations: 3.984 kB / 1.004 GB, free: 3.055 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.008655, allocations: 0 / 1.004 GB, free: 3.055 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.008657, allocations: 0 / 1.004 GB, free: 3.055 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001425/0.008799, allocations: 113.3 kB / 1.004 GB, free: 2.914 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.0088, allocations: 0 / 1.004 GB, free: 2.914 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.463e-05/0.008865, allocations: 11.98 kB / 1.004 GB, free: 2.902 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.008866, allocations: 0 / 1.004 GB, free: 2.902 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.008873, allocations: 0 / 1.004 GB, free: 2.902 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.008877, allocations: 3.938 kB / 1.004 GB, free: 2.898 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.00888, allocations: 3.938 kB / 1.004 GB, free: 2.895 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002645/0.009144, allocations: 155.5 kB / 1.004 GB, free: 2.727 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.195e-06/0.009153, allocations: 4.031 kB / 1.004 GB, free: 2.723 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.025e-05/0.009163, allocations: 7.938 kB / 1.004 GB, free: 2.715 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.244e-05/0.009245, allocations: 11.92 kB / 1.004 GB, free: 2.703 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.563e-05/0.009281, allocations: 4 kB / 1.004 GB, free: 2.699 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.009284, allocations: 0 / 1.004 GB, free: 2.699 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.561e-05/0.00934, allocations: 79.28 kB / 1.004 GB, free: 2.621 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8e-08/0.00934, allocations: 0 / 1.004 GB, free: 2.621 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002651/0.009605, allocations: 31.92 kB / 1.005 GB, free: 2.59 MB / 0.9512 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.0002595/0.009864, allocations: 147 kB / 1.005 GB, free: 2.438 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002298/0.01009, allocations: 43.89 kB / 1.005 GB, free: 2.395 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.0101, allocations: 0 / 1.005 GB, free: 2.395 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 9.054e-05/0.01019, allocations: 20.05 kB / 1.005 GB, free: 2.375 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.01041, allocations: 4 kB / 1.005 GB, free: 2.371 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002527/0.01067, allocations: 96.95 kB / 1.005 GB, free: 2.25 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.899e-05/0.01074, allocations: 67.34 kB / 1.005 GB, free: 2.164 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.831e-05/0.01075, allocations: 0 / 1.005 GB, free: 2.164 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.263e-05/0.01078, allocations: 8.5 kB / 1.005 GB, free: 2.156 MB / 0.9512 GB Notification: Performance of SimCode: time 3.5e-07/0.01078, allocations: 0 / 1.005 GB, free: 2.156 MB / 0.9512 GB Notification: Performance of Templates: time 0.003521/0.0143, allocations: 0.9195 MB / 1.006 GB, free: 1.242 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselY0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.027029823511839]