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.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.001776/0.001776, allocations: 78.25 kB / 19.18 MB, free: 2.512 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.002231/0.002231, allocations: 163.7 kB / 22.46 MB, free: 5.367 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.508/1.508, allocations: 177.1 MB / 202.8 MB, free: 9.141 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.859/2.859, allocations: 389 MB / 0.633 GB, free: 0.9883 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.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|Y0",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 1 GB, free: 7.211 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.787e-05/2.986e-05, allocations: 10.22 kB / 1 GB, free: 7.199 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.001653/0.001682, allocations: 0.5891 MB / 1.001 GB, free: 6.617 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0006334/0.002316, allocations: 259 kB / 1.001 GB, free: 6.363 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.133e-05/0.002327, allocations: 0 / 1.001 GB, free: 6.363 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 9.919e-06/0.002337, allocations: 0 / 1.001 GB, free: 6.363 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.801e-06/0.002343, allocations: 0 / 1.001 GB, free: 6.363 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004879/0.002831, allocations: 95.59 kB / 1.001 GB, free: 6.27 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 3.528e-05/0.002866, allocations: 4 kB / 1.001 GB, free: 6.266 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.33e-05/0.002909, allocations: 4 kB / 1.001 GB, free: 6.262 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 2.097e-05/0.00293, allocations: 4 kB / 1.001 GB, free: 6.258 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 2.091e-05/0.002951, allocations: 0 / 1.001 GB, free: 6.258 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.446e-06/0.00296, allocations: 0 / 1.001 GB, free: 6.258 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002585/0.003218, allocations: 119.7 kB / 1.001 GB, free: 6.141 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.017e-05/0.003228, allocations: 0 / 1.001 GB, free: 6.141 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 1.557e-05/0.003244, allocations: 4 kB / 1.001 GB, free: 6.137 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002076/0.003452, allocations: 91.67 kB / 1.001 GB, free: 6.047 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.003454, allocations: 0 / 1.001 GB, free: 6.047 MB / 0.9512 GB Notification: Performance of FrontEnd: time 6.92e-07/0.003454, allocations: 0 / 1.001 GB, free: 6.047 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.003458, allocations: 4 kB / 1.001 GB, free: 6.043 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003182/0.003776, allocations: 246.3 kB / 1.002 GB, free: 5.77 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.00381, allocations: 12.03 kB / 1.002 GB, free: 5.758 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.313e-05/0.003833, allocations: 0.9375 kB / 1.002 GB, free: 5.758 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.106e-05/0.003924, allocations: 109.8 kB / 1.002 GB, free: 5.625 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.003935, allocations: 384 / 1.002 GB, free: 5.625 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.132e-06/0.003941, allocations: 384 / 1.002 GB, free: 5.625 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.503e-05/0.004036, allocations: 34.25 kB / 1.002 GB, free: 5.586 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.004048, allocations: 8.125 kB / 1.002 GB, free: 5.578 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.742e-06/0.004055, allocations: 384 / 1.002 GB, free: 5.578 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.004065, allocations: 4.359 kB / 1.002 GB, free: 5.574 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.06e-05/0.004086, allocations: 3.938 kB / 1.002 GB, free: 5.57 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001182/0.004204, allocations: 101.3 kB / 1.002 GB, free: 5.441 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 4.635e-05/0.00425, allocations: 18.58 kB / 1.002 GB, free: 5.414 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.879e-05/0.004269, allocations: 8.859 kB / 1.002 GB, free: 5.402 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005812/0.00485, allocations: 76 kB / 1.002 GB, free: 5.328 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.004884, allocations: 38.56 kB / 1.002 GB, free: 5.281 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.004885, allocations: 0 / 1.002 GB, free: 5.281 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.0001348/0.00502, allocations: 37.64 kB / 1.002 GB, free: 5.238 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.005054, allocations: 51.41 kB / 1.002 GB, free: 5.176 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.838e-05/0.005103, allocations: 89.86 kB / 1.002 GB, free: 5.078 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.005119, allocations: 25.7 kB / 1.002 GB, free: 5.047 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.313e-05/0.005152, allocations: 84.14 kB / 1.002 GB, free: 4.961 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.768e-05/0.00518, allocations: 3.938 kB / 1.002 GB, free: 4.957 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.854e-05/0.005208, allocations: 13.72 kB / 1.002 GB, free: 4.938 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.005354, allocations: 322.8 kB / 1.003 GB, free: 4.613 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.448e-06/0.005364, allocations: 0 / 1.003 GB, free: 4.613 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.122e-06/0.00537, allocations: 128 / 1.003 GB, free: 4.613 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.253e-05/0.005402, allocations: 16.86 kB / 1.003 GB, free: 4.594 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.005404, allocations: 0 / 1.003 GB, free: 4.594 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.117e-05/0.005465, allocations: 37.64 kB / 1.003 GB, free: 4.551 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.005479, allocations: 4 kB / 1.003 GB, free: 4.547 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.005485, allocations: 4 kB / 1.003 GB, free: 4.543 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.005502, allocations: 0 / 1.003 GB, free: 4.543 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.427e-05/0.005547, allocations: 0 / 1.003 GB, free: 4.543 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.005554, allocations: 3.984 kB / 1.003 GB, free: 4.539 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.222e-05/0.005567, allocations: 3.938 kB / 1.003 GB, free: 4.535 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-06/0.005572, allocations: 4.031 kB / 1.003 GB, free: 4.531 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 (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 8.117e-05/0.005653, allocations: 114.4 kB / 1.003 GB, free: 4.41 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.046e-05/0.005663, allocations: 3.953 kB / 1.003 GB, free: 4.406 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.114e-05/0.005744, allocations: 32.7 kB / 1.003 GB, free: 4.367 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.005746, allocations: 0 / 1.003 GB, free: 4.367 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.00575, allocations: 0 / 1.003 GB, free: 4.367 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.005754, allocations: 3.984 kB / 1.003 GB, free: 4.363 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.158e-05/0.005836, allocations: 101.3 kB / 1.003 GB, free: 4.234 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.005837, allocations: 3.938 kB / 1.003 GB, free: 4.23 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.307e-05/0.00585, allocations: 0 / 1.003 GB, free: 4.23 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.005852, allocations: 4.031 kB / 1.003 GB, free: 4.227 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.005859, allocations: 4 kB / 1.003 GB, free: 4.223 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.00586, allocations: 0 / 1.003 GB, free: 4.223 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.005861, allocations: 3.938 kB / 1.003 GB, free: 4.219 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.968e-05/0.00594, allocations: 61.06 kB / 1.003 GB, free: 4.141 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.178e-06/0.005945, allocations: 4 kB / 1.003 GB, free: 4.137 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.476e-06/0.005953, allocations: 0 / 1.003 GB, free: 4.137 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.832e-06/0.00596, allocations: 0 / 1.003 GB, free: 4.137 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.768e-06/0.00597, allocations: 0 / 1.003 GB, free: 4.137 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-06/0.005971, allocations: 0 / 1.003 GB, free: 4.137 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.895e-05/0.00601, allocations: 79.31 kB / 1.003 GB, free: 4.059 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.01e-07/0.006011, allocations: 4 kB / 1.003 GB, free: 4.055 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002273/0.006238, allocations: 27.92 kB / 1.003 GB, free: 4.027 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 (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.0002639/0.006502, allocations: 143.1 kB / 1.003 GB, free: 3.879 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 6.053e-05/0.006562, allocations: 7.938 kB / 1.003 GB, free: 3.871 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.006563, allocations: 3.938 kB / 1.003 GB, free: 3.867 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 5.912e-06/0.006569, allocations: 0 / 1.003 GB, free: 3.867 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001255/0.006695, allocations: 4 kB / 1.003 GB, free: 3.863 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002058/0.006901, allocations: 77 kB / 1.003 GB, free: 3.762 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.245e-05/0.006953, allocations: 59.34 kB / 1.003 GB, free: 3.684 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 9.498e-06/0.006963, allocations: 0 / 1.003 GB, free: 3.684 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.624e-05/0.006979, allocations: 8.5 kB / 1.003 GB, free: 3.676 MB / 0.9512 GB Notification: Performance of SimCode: time 3.11e-07/0.006979, allocations: 128 / 1.003 GB, free: 3.676 MB / 0.9512 GB Notification: Performance of Templates: time 0.003026/0.01001, allocations: 0.6523 MB / 1.004 GB, free: 3.023 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) [Timeout 800] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.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: 7.917584121227264]