Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.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.001772/0.001772, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.002167/0.002167, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 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.473/1.473, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 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.217/3.217, allocations: 429.6 MB / 0.673 GB, free: 3.902 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0") translateModel(Buildings.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Y0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.8776 GB, free: 6.527 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.539e-05/2.729e-05, allocations: 4.984 kB / 0.8776 GB, free: 6.523 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY0): time 0.002937/0.002964, allocations: 1.458 MB / 0.879 GB, free: 5.078 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0007753/0.003739, allocations: 320.5 kB / 0.8793 GB, free: 4.77 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.799e-05/0.003767, allocations: 0.5938 kB / 0.8793 GB, free: 4.77 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.709e-05/0.003795, allocations: 0 / 0.8793 GB, free: 4.77 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.968e-05/0.003834, allocations: 4.938 kB / 0.8793 GB, free: 4.766 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004779/0.004312, allocations: 108.6 kB / 0.8794 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.852e-05/0.004381, allocations: 23.92 kB / 0.8795 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 7.422e-05/0.004455, allocations: 0 / 0.8795 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.249e-05/0.004517, allocations: 13.52 kB / 0.8795 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.82e-05/0.004566, allocations: 11.98 kB / 0.8795 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.004579, allocations: 4 kB / 0.8795 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000248/0.004827, allocations: 119.7 kB / 0.8796 GB, free: 4.492 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.327e-05/0.00484, allocations: 4.938 kB / 0.8796 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.089e-05/0.004871, allocations: 12 kB / 0.8796 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002365/0.005108, allocations: 103.7 kB / 0.8797 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.005111, allocations: 0.7188 kB / 0.8797 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.082e-06/0.005112, allocations: 0 / 0.8797 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.005116, allocations: 0.6875 kB / 0.8797 GB, free: 4.375 MB / 0.8386 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.0005259/0.005642, allocations: 281.6 kB / 0.88 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.005678, allocations: 8.031 kB / 0.88 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.449e-05/0.005722, allocations: 4.938 kB / 0.88 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.005848, allocations: 113.7 kB / 0.8801 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.005863, allocations: 8.312 kB / 0.8801 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.506e-06/0.005871, allocations: 384 / 0.8801 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.006059, allocations: 50.23 kB / 0.8802 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.006067, allocations: 192 / 0.8802 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.345e-06/0.006076, allocations: 4.375 kB / 0.8802 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.00608, allocations: 384 / 0.8802 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000185/0.006265, allocations: 35.91 kB / 0.8802 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003406/0.006606, allocations: 196.6 kB / 0.8804 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001506/0.006756, allocations: 38.5 kB / 0.8804 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.637e-05/0.006853, allocations: 20.91 kB / 0.8804 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005884/0.007441, allocations: 83.91 kB / 0.8805 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/0.007478, allocations: 30.56 kB / 0.8806 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.007479, allocations: 0 / 0.8806 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0004038/0.007882, allocations: 85.67 kB / 0.8806 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.007929, allocations: 59.34 kB / 0.8807 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.948e-05/0.008029, allocations: 93.86 kB / 0.8808 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.00805, allocations: 25.7 kB / 0.8808 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.984e-05/0.00812, allocations: 92.12 kB / 0.8809 GB, free: 3.02 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.891e-05/0.008139, allocations: 7.891 kB / 0.8809 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-05/0.008175, allocations: 13.72 kB / 0.8809 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001851/0.00836, allocations: 314.8 kB / 0.8812 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.388e-05/0.008454, allocations: 11.98 kB / 0.8812 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.62e-05/0.00854, allocations: 24 kB / 0.8813 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001657/0.008706, allocations: 36.83 kB / 0.8813 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.008708, allocations: 0 / 0.8813 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002225/0.00893, allocations: 69.59 kB / 0.8814 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.008945, allocations: 4 kB / 0.8814 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.008953, allocations: 7.938 kB / 0.8814 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.008972, allocations: 4.094 kB / 0.8814 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.743e-05/0.00906, allocations: 7.984 kB / 0.8814 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.009065, allocations: 0 / 0.8814 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.481e-05/0.00912, allocations: 7.938 kB / 0.8814 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.009125, allocations: 0 / 0.8814 GB, free: 2.496 MB / 0.8386 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.486e-05/0.00922, allocations: 113.8 kB / 0.8815 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.046e-05/0.00925, allocations: 7.938 kB / 0.8815 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002689/0.009519, allocations: 77.09 kB / 0.8816 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.009526, allocations: 3.984 kB / 0.8816 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.00953, allocations: 0 / 0.8816 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.009532, allocations: 0 / 0.8816 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/0.009691, allocations: 105.3 kB / 0.8817 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.009693, allocations: 3.938 kB / 0.8817 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.131e-05/0.009754, allocations: 8 kB / 0.8817 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.009756, allocations: 0 / 0.8817 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.009762, allocations: 0 / 0.8817 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.009766, allocations: 3.938 kB / 0.8817 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.00977, allocations: 4.016 kB / 0.8817 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000293/0.01006, allocations: 163.5 kB / 0.8819 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.618e-06/0.01007, allocations: 3.984 kB / 0.8819 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.01008, allocations: 0 / 0.8819 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.98e-05/0.01017, allocations: 11.94 kB / 0.8819 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.361e-05/0.01023, allocations: 3.984 kB / 0.8819 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.667e-06/0.01024, allocations: 4 kB / 0.8819 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.459e-05/0.01029, allocations: 79.28 kB / 0.882 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8e-08/0.01029, allocations: 4 kB / 0.882 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002867/0.01058, allocations: 31.91 kB / 0.882 GB, free: 1.816 MB / 0.8386 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.000311/0.01089, allocations: 143.1 kB / 0.8821 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002289/0.01112, allocations: 39.97 kB / 0.8822 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.01112, allocations: 0 / 0.8822 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001018/0.01122, allocations: 15.98 kB / 0.8822 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.01148, allocations: 7.984 kB / 0.8822 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003334/0.01182, allocations: 104.6 kB / 0.8823 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.959e-05/0.01191, allocations: 59.34 kB / 0.8823 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.953e-05/0.01193, allocations: 4.125 kB / 0.8823 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.525e-05/0.01198, allocations: 16.44 kB / 0.8824 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of SimCode: time 5.01e-07/0.01198, allocations: 0 / 0.8824 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of Templates: time 0.004262/0.01624, allocations: 0.9156 MB / 0.8833 GB, free: 480 kB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselY0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselY0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.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: 8.069716403027996]