Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001129/0.001129, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001608/0.002737, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001122/0.001122, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001369/0.002491, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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 0.9176/0.9176, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09985/1.017, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.924/1.924, allocations: 378.2 MB / 0.6076 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5034/2.427, allocations: 123.3 MB / 0.728 GB, free: 5.809 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_12_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_12_Buildings.Utilities.Math.Functions.Examples.BesselY0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0.5469 kB / 0.7294 GB, free: 4.461 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.121e-05/3.324e-05, allocations: 5.297 kB / 0.7294 GB, free: 4.457 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselY0): time 0.001721/0.001754, allocations: 0.6459 MB / 0.73 GB, free: 3.832 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0004539/0.002208, allocations: 270.6 kB / 0.7303 GB, free: 3.578 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.053e-05/0.002219, allocations: 0 / 0.7303 GB, free: 3.578 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 4.468e-06/0.002223, allocations: 0 / 0.7303 GB, free: 3.578 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 1.182e-06/0.002225, allocations: 5.406 kB / 0.7303 GB, free: 3.574 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002912/0.002516, allocations: 77.14 kB / 0.7304 GB, free: 3.5 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 4.583e-05/0.002562, allocations: 8.656 kB / 0.7304 GB, free: 3.492 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.097e-05/0.002602, allocations: 6.406 kB / 0.7304 GB, free: 3.488 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 3.58e-05/0.002638, allocations: 0 / 0.7304 GB, free: 3.488 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 2.818e-05/0.002666, allocations: 1.422 kB / 0.7304 GB, free: 3.488 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.178e-05/0.002678, allocations: 7.938 kB / 0.7304 GB, free: 3.48 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002924/0.002971, allocations: 134.4 kB / 0.7305 GB, free: 3.352 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 9.959e-06/0.002981, allocations: 0 / 0.7305 GB, free: 3.352 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.236e-05/0.002993, allocations: 1.562 kB / 0.7305 GB, free: 3.352 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.003155, allocations: 68.73 kB / 0.7306 GB, free: 3.285 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.795e-05/0.003173, allocations: 1.781 kB / 0.7306 GB, free: 3.285 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.61e-07/0.003174, allocations: 0 / 0.7306 GB, free: 3.285 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.848e-05/0.003192, allocations: 0 / 0.7306 GB, free: 3.285 MB / 0.698 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.000324/0.003516, allocations: 232.6 kB / 0.7308 GB, free: 3.031 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.003555, allocations: 12.8 kB / 0.7308 GB, free: 3.02 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.91e-05/0.003585, allocations: 9.828 kB / 0.7308 GB, free: 3.012 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.412e-05/0.003659, allocations: 105.8 kB / 0.7309 GB, free: 2.883 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.00367, allocations: 0.9375 kB / 0.7309 GB, free: 2.883 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.384e-06/0.003677, allocations: 5.5 kB / 0.7309 GB, free: 2.879 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.942e-05/0.003766, allocations: 34.27 kB / 0.731 GB, free: 2.84 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.003776, allocations: 192 / 0.731 GB, free: 2.84 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.971e-06/0.003782, allocations: 1.531 kB / 0.731 GB, free: 2.84 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.003787, allocations: 384 / 0.731 GB, free: 2.84 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.613e-05/0.003803, allocations: 8.812 kB / 0.731 GB, free: 2.832 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.633e-05/0.00388, allocations: 53.05 kB / 0.731 GB, free: 2.766 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.988e-05/0.00392, allocations: 19.48 kB / 0.731 GB, free: 2.738 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.312e-05/0.003933, allocations: 8.797 kB / 0.731 GB, free: 2.727 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000443/0.004376, allocations: 75.14 kB / 0.7311 GB, free: 2.656 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.388e-05/0.00442, allocations: 31.75 kB / 0.7311 GB, free: 2.617 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.004421, allocations: 0 / 0.7311 GB, free: 2.617 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 9.051e-05/0.004511, allocations: 30.61 kB / 0.7312 GB, free: 2.582 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/0.004544, allocations: 55.41 kB / 0.7312 GB, free: 2.516 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.288e-05/0.004576, allocations: 98.8 kB / 0.7313 GB, free: 2.41 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.558e-06/0.004586, allocations: 25.7 kB / 0.7313 GB, free: 2.379 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.238e-05/0.004608, allocations: 80.14 kB / 0.7314 GB, free: 2.297 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.004634, allocations: 1.078 kB / 0.7314 GB, free: 2.297 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.87e-05/0.004663, allocations: 14.66 kB / 0.7314 GB, free: 2.277 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.00478, allocations: 314.8 kB / 0.7317 GB, free: 1.961 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.791e-06/0.004786, allocations: 3.938 kB / 0.7317 GB, free: 1.957 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.869e-06/0.00479, allocations: 0.5 kB / 0.7317 GB, free: 1.957 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.314e-05/0.004814, allocations: 10.83 kB / 0.7318 GB, free: 1.945 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.004815, allocations: 2.062 kB / 0.7318 GB, free: 1.945 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.037e-05/0.004866, allocations: 37.69 kB / 0.7318 GB, free: 1.902 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.004879, allocations: 10.19 kB / 0.7318 GB, free: 1.895 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.004884, allocations: 0 / 0.7318 GB, free: 1.895 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.927e-06/0.004893, allocations: 0 / 0.7318 GB, free: 1.895 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.825e-05/0.004931, allocations: 1.906 kB / 0.7318 GB, free: 1.895 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.445e-06/0.004933, allocations: 0 / 0.7318 GB, free: 1.895 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.116e-05/0.004944, allocations: 7.938 kB / 0.7318 GB, free: 1.887 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.004949, allocations: 0 / 0.7318 GB, free: 1.887 MB / 0.698 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 5.92e-05/0.005009, allocations: 114.9 kB / 0.7319 GB, free: 1.766 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.441e-06/0.005014, allocations: 1.188 kB / 0.7319 GB, free: 1.766 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.712e-05/0.005071, allocations: 36.69 kB / 0.732 GB, free: 1.719 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.005073, allocations: 0 / 0.732 GB, free: 1.719 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.634e-06/0.005075, allocations: 0.5312 kB / 0.732 GB, free: 1.719 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.005077, allocations: 0.9375 kB / 0.732 GB, free: 1.719 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.763e-05/0.005135, allocations: 65.84 kB / 0.732 GB, free: 1.637 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.005135, allocations: 0 / 0.732 GB, free: 1.637 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.317e-06/0.005145, allocations: 0.5625 kB / 0.732 GB, free: 1.637 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.362e-06/0.005151, allocations: 8.672 kB / 0.732 GB, free: 1.629 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.005153, allocations: 0.5469 kB / 0.732 GB, free: 1.629 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.887e-06/0.005157, allocations: 5.031 kB / 0.732 GB, free: 1.625 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.005158, allocations: 0 / 0.732 GB, free: 1.625 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.005159, allocations: 0 / 0.732 GB, free: 1.625 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.523e-05/0.005214, allocations: 69.69 kB / 0.7321 GB, free: 1.539 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.747e-06/0.005223, allocations: 6.641 kB / 0.7321 GB, free: 1.535 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.071e-06/0.005229, allocations: 0 / 0.7321 GB, free: 1.535 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.578e-06/0.005239, allocations: 0 / 0.7321 GB, free: 1.535 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.005241, allocations: 0 / 0.7321 GB, free: 1.535 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.25e-06/0.005246, allocations: 4.859 kB / 0.7321 GB, free: 1.527 MB / 0.698 GB Notification: Performance of sort global known variables: time 8e-08/0.005246, allocations: 1.219 kB / 0.7321 GB, free: 1.527 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001659/0.005412, allocations: 27.94 kB / 0.7321 GB, free: 1.5 MB / 0.698 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.0001989/0.005611, allocations: 123.7 kB / 0.7323 GB, free: 1.371 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 5.276e-05/0.005664, allocations: 11.95 kB / 0.7323 GB, free: 1.359 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.005669, allocations: 7.938 kB / 0.7323 GB, free: 1.352 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.031e-06/0.005675, allocations: 4.859 kB / 0.7323 GB, free: 1.344 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.177e-05/0.005727, allocations: 3.938 kB / 0.7323 GB, free: 1.34 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001548/0.005881, allocations: 87.17 kB / 0.7324 GB, free: 1.227 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001044/0.005986, allocations: 55.36 kB / 0.7324 GB, free: 1.152 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.979e-06/0.005996, allocations: 2.438 kB / 0.7324 GB, free: 1.152 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.507e-05/0.006021, allocations: 47.38 kB / 0.7325 GB, free: 1.105 MB / 0.698 GB Notification: Performance of SimCode: time 6.61e-07/0.006022, allocations: 0 / 0.7325 GB, free: 1.105 MB / 0.698 GB Notification: Performance of Templates: time 0.002567/0.008589, allocations: 0.7332 MB / 0.7332 GB, free: 412 kB / 0.698 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0/Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselY0.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.820955196395516]