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.001477/0.001477, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001487/0.001487, allocations: 215.7 kB / 22.25 MB, free: 5.254 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.461/1.461, allocations: 230.6 MB / 256 MB, free: 7.773 MB / 206.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 3.339/3.339, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: 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: 66.67 kB / 1.186 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.3548, allocations: 181.9 MB / 1.364 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.002659/0.3575, allocations: 1.455 MB / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0007444/0.3582, allocations: 331 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.758e-05/0.3582, allocations: 0 / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.568e-05/0.3583, allocations: 0 / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.575e-05/0.3583, allocations: 11.88 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004343/0.3587, allocations: 103.7 kB / 1.366 GB, free: 11.65 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.314e-05/0.3588, allocations: 31.91 kB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 7.947e-05/0.3589, allocations: 0 / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.488e-05/0.3589, allocations: 8 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.112e-05/0.359, allocations: 19.92 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.636e-06/0.359, allocations: 0 / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002338/0.3592, allocations: 127.7 kB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.177e-05/0.3592, allocations: 0 / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.257e-05/0.3592, allocations: 7.938 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002015/0.3594, allocations: 95.67 kB / 1.366 GB, free: 11.37 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3594, allocations: 0 / 1.366 GB, free: 11.37 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3594, allocations: 0 / 1.366 GB, free: 11.37 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.3594, allocations: 3.938 kB / 1.366 GB, free: 11.36 MB / 1.061 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.0004504/0.3599, allocations: 270.3 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.3599, allocations: 12.03 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.078e-05/0.36, allocations: 8.891 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.3601, allocations: 110.5 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.3601, allocations: 4.359 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.3601, allocations: 12.31 kB / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.3603, allocations: 42.25 kB / 1.366 GB, free: 10.85 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.3603, allocations: 192 / 1.366 GB, free: 10.85 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.3603, allocations: 7.938 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.3603, allocations: 3.984 kB / 1.366 GB, free: 10.84 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001636/0.3605, allocations: 35.97 kB / 1.366 GB, free: 10.8 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002895/0.3608, allocations: 196.5 kB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.3609, allocations: 34.56 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.558e-05/0.361, allocations: 20.91 kB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005967/0.3616, allocations: 95.84 kB / 1.367 GB, free: 10.42 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.3616, allocations: 30.56 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.3616, allocations: 0 / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0003514/0.362, allocations: 85.7 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.362, allocations: 55.41 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.01e-05/0.3621, allocations: 97.84 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.3621, allocations: 29.7 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.042e-05/0.3622, allocations: 88.09 kB / 1.367 GB, free: 9.996 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.557e-05/0.3622, allocations: 3.953 kB / 1.367 GB, free: 9.992 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.542e-05/0.3622, allocations: 9.719 kB / 1.367 GB, free: 9.977 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.3623, allocations: 322.8 kB / 1.367 GB, free: 9.652 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.3624, allocations: 11.98 kB / 1.367 GB, free: 9.641 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.204e-05/0.3625, allocations: 19.98 kB / 1.368 GB, free: 9.621 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.3627, allocations: 40.81 kB / 1.368 GB, free: 9.578 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.3627, allocations: 0 / 1.368 GB, free: 9.578 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001906/0.3629, allocations: 73.48 kB / 1.368 GB, free: 9.5 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.3629, allocations: 6.344 kB / 1.368 GB, free: 9.496 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.3629, allocations: 0 / 1.368 GB, free: 9.496 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.3629, allocations: 96 / 1.368 GB, free: 9.496 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.602e-05/0.363, allocations: 15.98 kB / 1.368 GB, free: 9.48 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.363, allocations: 0 / 1.368 GB, free: 9.48 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.796e-05/0.363, allocations: 7.984 kB / 1.368 GB, free: 9.473 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-06/0.363, allocations: 0 / 1.368 GB, free: 9.473 MB / 1.061 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.616e-05/0.3631, allocations: 113.8 kB / 1.368 GB, free: 9.352 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.499e-05/0.3631, allocations: 3.938 kB / 1.368 GB, free: 9.348 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002517/0.3634, allocations: 72.91 kB / 1.368 GB, free: 9.266 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.3634, allocations: 4.031 kB / 1.368 GB, free: 9.262 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.377e-06/0.3634, allocations: 4 kB / 1.368 GB, free: 9.258 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3634, allocations: 0 / 1.368 GB, free: 9.258 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.3636, allocations: 105.3 kB / 1.368 GB, free: 9.125 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3636, allocations: 0 / 1.368 GB, free: 9.125 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.019e-05/0.3636, allocations: 11.98 kB / 1.368 GB, free: 9.113 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.738e-06/0.3636, allocations: 3.938 kB / 1.368 GB, free: 9.109 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/0.3636, allocations: 3.938 kB / 1.368 GB, free: 9.105 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3637, allocations: 0 / 1.368 GB, free: 9.105 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3637, allocations: 0 / 1.368 GB, free: 9.105 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002437/0.3639, allocations: 167.5 kB / 1.368 GB, free: 8.926 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.126e-05/0.3639, allocations: 8.125 kB / 1.368 GB, free: 8.918 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.3639, allocations: 0 / 1.368 GB, free: 8.918 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.711e-05/0.364, allocations: 11.92 kB / 1.368 GB, free: 8.906 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.916e-05/0.364, allocations: 3.984 kB / 1.368 GB, free: 8.902 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.364, allocations: 0 / 1.368 GB, free: 8.902 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.688e-05/0.3641, allocations: 87.27 kB / 1.368 GB, free: 8.816 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3641, allocations: 0 / 1.368 GB, free: 8.816 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002608/0.3643, allocations: 31.88 kB / 1.368 GB, free: 8.785 MB / 1.061 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.0002417/0.3646, allocations: 127.2 kB / 1.368 GB, free: 8.648 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002257/0.3648, allocations: 43.95 kB / 1.368 GB, free: 8.605 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3648, allocations: 0 / 1.368 GB, free: 8.605 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.56e-05/0.3649, allocations: 19.98 kB / 1.368 GB, free: 8.586 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/0.3651, allocations: 7.875 kB / 1.368 GB, free: 8.578 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002649/0.3654, allocations: 113.4 kB / 1.369 GB, free: 8.441 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.312e-05/0.3655, allocations: 63.33 kB / 1.369 GB, free: 8.359 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.278e-05/0.3655, allocations: 4.125 kB / 1.369 GB, free: 8.355 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.002e-05/0.3655, allocations: 11.44 kB / 1.369 GB, free: 8.344 MB / 1.061 GB Notification: Performance of SimCode: time 3.91e-07/0.3655, allocations: 0 / 1.369 GB, free: 8.344 MB / 1.061 GB Notification: Performance of Templates: time 0.003581/0.3691, allocations: 0.9272 MB / 1.37 GB, free: 7.426 MB / 1.061 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.862917454913259]