Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.BesselY1.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.001454/0.001454, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.001675/0.001675, allocations: 211.3 kB / 23 MB, free: 4.934 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.722/1.722, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.266/3.266, allocations: 0.49 GB / 0.7959 GB, free: 35.61 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y1.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BesselY1") translateModel(Buildings.Utilities.Math.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y1.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BesselY1") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 70.09 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.401/0.4031, allocations: 176.1 MB / 1.327 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.003066/0.4062, allocations: 1.455 MB / 1.329 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0008231/0.407, allocations: 326.9 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.408e-05/0.407, allocations: 4 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.729e-05/0.407, allocations: 3.938 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.272e-05/0.4071, allocations: 4 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005216/0.4076, allocations: 111.6 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.863e-05/0.4077, allocations: 19.94 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.4078, allocations: 3.984 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.617e-05/0.4079, allocations: 11.94 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.845e-05/0.4079, allocations: 19.91 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.136e-05/0.4079, allocations: 0 / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002582/0.4082, allocations: 127.8 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.728e-05/0.4082, allocations: 4 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.616e-05/0.4082, allocations: 15.92 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002128/0.4084, allocations: 91.67 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.4084, allocations: 0 / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.784e-06/0.4084, allocations: 3.938 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.4084, allocations: 0 / 1.329 GB, free: 14.8 MB / 1.029 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.0006295/0.4091, allocations: 274.2 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.4091, allocations: 11.97 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.66e-05/0.4092, allocations: 4.938 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.4093, allocations: 110.5 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.4093, allocations: 4.375 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.4093, allocations: 8.375 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.4095, allocations: 50.23 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.4095, allocations: 192 / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.4095, allocations: 3.938 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.4095, allocations: 0 / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001735/0.4097, allocations: 39.89 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000321/0.41, allocations: 192.5 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001518/0.4102, allocations: 42.59 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.082e-05/0.4103, allocations: 16.91 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006475/0.4109, allocations: 95.84 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.4109, allocations: 30.56 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.4109, allocations: 3.938 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003802/0.4113, allocations: 81.64 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.4114, allocations: 51.41 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.97e-05/0.4114, allocations: 101.8 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.4115, allocations: 25.7 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.866e-05/0.4115, allocations: 84.27 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.91e-05/0.4115, allocations: 7.953 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.618e-05/0.4116, allocations: 17.72 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.4117, allocations: 310.8 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.762e-05/0.4118, allocations: 15.97 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.915e-05/0.4119, allocations: 15.98 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001597/0.4121, allocations: 40.77 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4121, allocations: 4.062 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001992/0.4123, allocations: 69.59 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.4123, allocations: 4 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.4123, allocations: 0 / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.4123, allocations: 4 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.065e-05/0.4124, allocations: 7.984 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.4124, allocations: 0 / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.914e-05/0.4125, allocations: 7.984 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.4125, allocations: 4.031 kB / 1.331 GB, free: 12.91 MB / 1.029 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 9.969e-05/0.4126, allocations: 120.1 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.027e-05/0.4126, allocations: 7.891 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002592/0.4128, allocations: 76.91 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.4129, allocations: 3.938 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.4129, allocations: 0 / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.272e-06/0.4129, allocations: 192 / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.4129, allocations: 0 / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.631e-05/0.413, allocations: 12.02 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.348e-05/0.413, allocations: 7.984 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002728/0.4133, allocations: 148.9 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003071/0.4136, allocations: 238.7 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.071e-05/0.4137, allocations: 20.05 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.197e-05/0.4137, allocations: 83.27 kB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of Backend: time 9.62e-07/0.4137, allocations: 0 / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006524/0.4144, allocations: 131.9 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of SimCode: time 0.0005715/0.415, allocations: 0.5609 MB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of Templates: time 0.004061/0.419, allocations: 1.069 MB / 1.333 GB, free: 10.36 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.BesselY1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.BesselY1.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.BesselY1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_BesselY1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.BesselY1.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: 9.436052795004798]