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.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.00189/0.00189, allocations: 80.84 kB / 19.18 MB, free: 2.516 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.002361/0.002361, allocations: 162.6 kB / 22.46 MB, free: 5.375 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.46/1.46, allocations: 177.2 MB / 202.8 MB, free: 9.164 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.9/2.9, allocations: 389 MB / 0.633 GB, free: 0.9531 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.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1") translateModel(Buildings.Utilities.Math.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 1 GB, free: 7.254 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.298e-05/3.464e-05, allocations: 6.281 kB / 1 GB, free: 7.246 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.002843/0.002878, allocations: 1.461 MB / 1.002 GB, free: 5.781 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0007882/0.003666, allocations: 330.8 kB / 1.002 GB, free: 5.457 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.927e-05/0.003695, allocations: 0 / 1.002 GB, free: 5.457 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.882e-05/0.003724, allocations: 3.938 kB / 1.002 GB, free: 5.453 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 4.438e-05/0.003768, allocations: 7.938 kB / 1.002 GB, free: 5.445 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005487/0.004317, allocations: 107.6 kB / 1.002 GB, free: 5.34 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 8.436e-05/0.004402, allocations: 19.92 kB / 1.002 GB, free: 5.32 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.264e-05/0.004494, allocations: 8 kB / 1.002 GB, free: 5.312 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 5.208e-05/0.004546, allocations: 11.98 kB / 1.002 GB, free: 5.301 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 3.91e-05/0.004585, allocations: 7.922 kB / 1.002 GB, free: 5.293 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.004599, allocations: 4 kB / 1.002 GB, free: 5.289 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002583/0.004858, allocations: 123.7 kB / 1.002 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.248e-05/0.00488, allocations: 7.938 kB / 1.002 GB, free: 5.16 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.392e-05/0.004904, allocations: 12 kB / 1.002 GB, free: 5.148 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002452/0.005149, allocations: 115.7 kB / 1.002 GB, free: 5.035 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.644e-06/0.005152, allocations: 0 / 1.002 GB, free: 5.035 MB / 0.9512 GB Notification: Performance of FrontEnd: time 8.21e-07/0.005153, allocations: 0 / 1.002 GB, free: 5.035 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.005161, allocations: 0 / 1.002 GB, free: 5.035 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.0005608/0.005722, allocations: 274.2 kB / 1.003 GB, free: 4.734 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.005761, allocations: 8.031 kB / 1.003 GB, free: 4.727 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.896e-05/0.00579, allocations: 4.938 kB / 1.003 GB, free: 4.723 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.005915, allocations: 105.7 kB / 1.003 GB, free: 4.594 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.005931, allocations: 4.375 kB / 1.003 GB, free: 4.59 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.005944, allocations: 8.312 kB / 1.003 GB, free: 4.582 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.006138, allocations: 54.17 kB / 1.003 GB, free: 4.523 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.006149, allocations: 192 / 1.003 GB, free: 4.523 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.006158, allocations: 384 / 1.003 GB, free: 4.523 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.006162, allocations: 4.312 kB / 1.003 GB, free: 4.52 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001986/0.00636, allocations: 39.89 kB / 1.003 GB, free: 4.48 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003297/0.00669, allocations: 188.6 kB / 1.003 GB, free: 4.266 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.006851, allocations: 42.59 kB / 1.003 GB, free: 4.215 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.17e-05/0.006943, allocations: 24.84 kB / 1.003 GB, free: 4.188 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006337/0.007577, allocations: 87.91 kB / 1.003 GB, free: 4.102 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.00761, allocations: 34.56 kB / 1.003 GB, free: 4.059 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.007611, allocations: 0 / 1.003 GB, free: 4.059 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0003915/0.008003, allocations: 85.53 kB / 1.003 GB, free: 3.969 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.008042, allocations: 51.41 kB / 1.003 GB, free: 3.906 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.358e-05/0.008135, allocations: 101.8 kB / 1.003 GB, free: 3.797 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.008157, allocations: 25.7 kB / 1.003 GB, free: 3.766 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.355e-05/0.008211, allocations: 84.27 kB / 1.003 GB, free: 3.68 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/0.008229, allocations: 11.95 kB / 1.003 GB, free: 3.668 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.393e-05/0.008263, allocations: 13.72 kB / 1.003 GB, free: 3.648 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.00842, allocations: 310.8 kB / 1.004 GB, free: 3.336 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.305e-05/0.008513, allocations: 23.91 kB / 1.004 GB, free: 3.312 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.711e-05/0.00859, allocations: 15.98 kB / 1.004 GB, free: 3.297 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001672/0.008757, allocations: 36.83 kB / 1.004 GB, free: 3.258 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.008759, allocations: 4.062 kB / 1.004 GB, free: 3.254 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002276/0.008986, allocations: 69.66 kB / 1.004 GB, free: 3.18 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.009003, allocations: 4 kB / 1.004 GB, free: 3.176 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.009013, allocations: 7.938 kB / 1.004 GB, free: 3.168 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.009028, allocations: 0 / 1.004 GB, free: 3.168 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.281e-05/0.009111, allocations: 7.984 kB / 1.004 GB, free: 3.16 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.009115, allocations: 0 / 1.004 GB, free: 3.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.446e-05/0.00917, allocations: 11.92 kB / 1.004 GB, free: 3.148 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.009176, allocations: 4.031 kB / 1.004 GB, free: 3.145 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 9.232e-05/0.009269, allocations: 110.4 kB / 1.004 GB, free: 3.027 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.501e-05/0.009294, allocations: 0 / 1.004 GB, free: 3.027 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002449/0.009539, allocations: 76.91 kB / 1.004 GB, free: 2.941 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.009541, allocations: 0 / 1.004 GB, free: 2.941 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.009545, allocations: 3.938 kB / 1.004 GB, free: 2.938 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.009548, allocations: 0 / 1.004 GB, free: 2.938 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/0.009698, allocations: 113.2 kB / 1.004 GB, free: 2.797 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.009699, allocations: 4.031 kB / 1.004 GB, free: 2.793 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.217e-05/0.009761, allocations: 12.17 kB / 1.004 GB, free: 2.781 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.009763, allocations: 0 / 1.004 GB, free: 2.781 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.00977, allocations: 0 / 1.004 GB, free: 2.781 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.009774, allocations: 3.938 kB / 1.004 GB, free: 2.777 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.009776, allocations: 3.984 kB / 1.004 GB, free: 2.773 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002835/0.01006, allocations: 159.5 kB / 1.004 GB, free: 2.602 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.326e-06/0.01007, allocations: 7.938 kB / 1.004 GB, free: 2.594 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.01008, allocations: 4.031 kB / 1.004 GB, free: 2.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.472e-05/0.01016, allocations: 15.92 kB / 1.004 GB, free: 2.574 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.637e-05/0.0102, allocations: 0 / 1.004 GB, free: 2.574 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.0102, allocations: 0 / 1.004 GB, free: 2.574 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.803e-05/0.01025, allocations: 79.28 kB / 1.005 GB, free: 2.496 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8e-08/0.01025, allocations: 0 / 1.005 GB, free: 2.496 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002773/0.01053, allocations: 35.86 kB / 1.005 GB, free: 2.461 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.0002884/0.01082, allocations: 139.2 kB / 1.005 GB, free: 2.316 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002399/0.01106, allocations: 39.89 kB / 1.005 GB, free: 2.277 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.01106, allocations: 0 / 1.005 GB, free: 2.277 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 9.452e-05/0.01116, allocations: 20.05 kB / 1.005 GB, free: 2.258 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.01139, allocations: 10.5 kB / 1.005 GB, free: 2.25 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003052/0.01169, allocations: 100.9 kB / 1.005 GB, free: 2.125 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.098e-05/0.01175, allocations: 63.34 kB / 1.005 GB, free: 2.043 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.071e-05/0.01177, allocations: 4 kB / 1.005 GB, free: 2.039 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.341e-05/0.0118, allocations: 8.5 kB / 1.005 GB, free: 2.031 MB / 0.9512 GB Notification: Performance of SimCode: time 3.31e-07/0.0118, allocations: 0 / 1.005 GB, free: 2.031 MB / 0.9512 GB Notification: Performance of Templates: time 0.003995/0.01579, allocations: 0.9368 MB / 1.006 GB, free: 1.098 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.072102572768927]